Closed (fixed)
Project:
Mailer Plus (DSM+)
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2024 at 15:18 UTC
Updated:
12 Jun 2025 at 15:04 UTC
Jump to comment: Most recent
Comments
Comment #5
jeroentComment #6
adamps commentedPatch doesn't seem to work against 2.x
Comment #7
adamps commentedComment #8
adamps commentedAFAICS that patch will make the parameters available contained in the legacy_message param - which works I guess, but isn't what I'd recommend. In my view the legacy_message param is an implementation detail of LegacyMailer and isn't part of the interface. Instead all the information from $message should be available via $email.
The legacy parameters should be available directly via
getParams(), but they are missing. We can do that inLegacyMailerHelper::emailFromArray()something like thisComment #10
adamps commentedI fixed it in #3527050: [Regression in 1.6] hook_mail_alter() cannot alter email "to" header - breaks "Reroute Email" module which was changing the same function anyway