Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm not able to send HTML emails when using this module.
I'm able to send html emails using the email test tool in the configuration page however.
The main giveaway is that the unsubscribe link is formatted correctly when sending using the test tool but displays as a plain text link when sending system emails.
Can you confirm what the correct settings should be in 'mail system' for the Elastic Email module to function correctly?
Comments
Comment #2
mike.davis CreditAttribution: mike.davis commentedHi @john_carney,
Thanks for using this module.
How are you constructing the HTML emails, are you using MimeMail or something else?
Elastic Email provides the facility to send emails in a HTML format but you need to construct the HTML email first before you send it through the module.
Have you had a look at these two issues as well: #2713709: Send HTML email from RULES & #2657814: Separate plain text and html body value for sending emails with MimeMail. Both of these issues are very similar so the patches in these may help you.
Thanks
Mike