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.
We are using mandrill for our html mailing system, but views send dosn't seem to send html mail to anything except mime mail, and I receive this message :
Only plain text is supported in the message. Any HTML will be converted to text. If you want to format the message with HTML, you'll have to install and enable the Mime Mail module.
Is there a suggested way to use mandrill instead of mimemail and use html? - are there hooks or is a patch required here?
Thanks
Comments
Comment #1
rafaqz CreditAttribution: rafaqz commentedOk so I'm using both modules together and it works fine, just seems like overkill...
Comment #2
hansfn CreditAttribution: hansfn commentedI turned this into a feature request. Views Send should recognize when the Mandrill module is enabled.
Patches are welcome. Can't promise when I get time to do this myself.
Comment #3
tymn CreditAttribution: tymn commentedFor anyone else doing the mime mail workaround you need to:
Comment #4
troybthompson CreditAttribution: troybthompson commentedI've set the views send e-mail module to MandrillMailSystem, double-checked it, but after I try sending using the view, I come back to the mail system page and it's been changed back to MimeMailSystem, and the e-mails I receive haven't been processed by Mandrill. I even have site-wide default set to Mandrill. So it looks like it's changing the settings, not just ignoring them.
Comment #5
hansfn CreditAttribution: hansfn commentedI haven't tested the instructions myself, but I guess that point 2 isn't talking about the Views Send setting on admin/config/system/mailsystem It's the site-wide and/or Mime Mail setting that you need to ensure that still is using Mandrill.
Comment #6
troybthompson CreditAttribution: troybthompson commentedYes, I have all of them set to MadrillMailSystem, including the site-wide and mime mail. The e-mail from views send gets sent out fine, but it doesn't go out through Madrill. When I go back to the mail system page, the setting for "Views Send E-mail module (direct key) class" has been changed to MimeMailSystem.
Comment #7
troybthompson CreditAttribution: troybthompson commentedNevermind, I cleared the cache and now it seems like it's working correctly and sending through Madrill. I don't know if this solved the initial report, though.
Comment #8
niyi CreditAttribution: niyi commentedI have the same issue. Clearing cache did not work for me. Please is there any other suggested solution?
Comment #9
hansfn CreditAttribution: hansfn commented@niyi: Did you try the work-around in comment 3?
I assign this one to myself now in the hope that I have time for it this month ...
Comment #11
hansfn CreditAttribution: hansfn commentedAs the system message says, I just added support for Mandrill in commit 3acf7f1. Either apply the patch manually or download the dev version after it is rebuild. I have tested and it seems to work as expected.
Comment #13
GiorgosKIt would be nice to be mentioned on the project page
https://www.drupal.org/project/mandrill
Comment #14
hansfn CreditAttribution: hansfn commentedHi, GiorgosK
If you think so, you should file an issue in the Mandrill issue queue.
Comment #15
GiorgosKNo I meant to mention in this project page that mandrill is supported
not the other way around (mimemail support is mentioned why not mandrill)