Problem/Motivation

The legacy email builder only handles body and subject. It would be useful to include more headers, especially addresses.

Proposed resolution

Create two new helper functions on MailManagerReplacement::emailFromArray() and ::emailToArray(). Call these in LegacyEmailBuilder and MailManagerReplacement::mail().

Remaining tasks

User interface changes

API changes

Not BC: Changes the definition of hook_mailer_bc_alter(). The new definition feels much better because it passes a message array in the well-known format.

Data model changes

Comments

AdamPS created an issue. See original summary.

adamps’s picture

Title: Add support for address headers on legacy emails » Add support for more headers on legacy emails
Issue summary: View changes
Status: Active » Needs review
Issue tags: +Needs change record
StatusFileSize
new17.04 KB

AdamPS credited ekes.

adamps’s picture

  • AdamPS committed ab958d0 on 1.x
    Issue #3262946 by AdamPS, ekes: Add support for more headers on legacy...
adamps’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.