#2291 - Refactor mail_wrap function

Identifier #2291
Issue type Feature request or suggestion
Title Refactor mail_wrap function
Status Completed
Tags

Risk: Core rearchitecting (custom)

Handling member Chris Graham
Addon core
Description This function is very long, and takes too many parameters.

Break it down into a class, with a simple frontend function to call it.

Turn some of the more exotic parameters that exist now into parameters via a map array parameter.

Make sure remaining parameters are in a logical order.

Rename the function to cms_mail.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated