- Issue created by @tchida
I'm facing an issue where my custom modifications in hook_mail_alter() are not being applied to the final email that is sent, even though my dump shows the modifications exist.
Drupal Version: 10.2.7
Mailjet Module: 4.0.2
Webform Module: 6.2.6
Email Use Case: The email in question is a confirmation email generated by the Webform module.
Implement hook_mail_alter() in a custom module to modify the email body.
Append an extra link to the email content.
Log the $message array to confirm that the modifications are applied.
Submit a Webform that triggers an email.
Check the received email and notice that the modifications are missing.
Thank you
Active
4.0
Code