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.
I'd like to send my mails as a mimemail / HTML mail.
Please share it if you know how to do it.
Thanks
Comments
Comment #1
bsandor CreditAttribution: bsandor commentedComment #2
bsandor CreditAttribution: bsandor commentedI started like this which did not work:
Comment #3
nelsonre CreditAttribution: nelsonre commentedI used this module in combination with the message_notify (https://www.drupal.org/project/message_notify) and htmlmail (https://www.drupal.org/project/htmlmail) module.
Comment #4
ggive CreditAttribution: ggive commented@nelsonre
Can u please share how you've set htmlmail.
I'm using message_notify & htmlmail as well, emails are sent and received with themed template (htmlmail.tpl.php) but there no content.
thanks
Comment #5
nelsonre CreditAttribution: nelsonre commented@ggive
Hmmm, without actually seeing your set up it's hard to diagnose.
Does it work without htmlmail for you?
I'm just trying to figure out why there would be no content. If you don't get content even without htmlmail, you might want to make sure are using message_notify properly.
As for htmlmail, did you set htmlmail here: admin/config/system/mailsystem ? You can either set up it as the system-wide default or just for the "message notify" class
Failing that, you might want to trace the code and put a breakpoint in the htmlmai.tpl.php to see if you are actually going in there.
Comment #6
ggive CreditAttribution: ggive commented@nelsonre Thanks for your post.
I did theme my htmlmail template and Account activation, Password recovery... email are working just fine.
I'm using drupal commons profil, which use message_notify to notifiy users by mail when they post and htmlmail.tpl.php is being used as I can see theming is apply but email content is missing.
For now I'm just setting up it as the system-wide default. I've even tried proposed template "htmlmail--message_notify.tpl.php" still get same results.
I guess i'm missing something in order to make it show content.
Thanks in advance
My settings
MailSystem settings
In admin/config/system/mailsystem
HTMLmail settings
Bellow debug output
Comment #7
bluegeek9 CreditAttribution: bluegeek9 as a volunteer commented