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 have followed instructions although they seem weird i.e first turn off the use of PHP Mailer in set up page and enable it using drop down window in Mime set up. then never reenable PHP Mailer. Anyway I can't find the magic to make this thing send out html. I should mention I am using Simple News to manage subsccriber list and create the email html content. Everything works as advertised using the core smtp but ver slow since my ISP throttles me.
Comments
Comment #1
ericwongcm CreditAttribution: ericwongcm commentedI experienced the same problem.
I am trying to use PHP Mailer for Ubercart to sent e-mail.
It "works" but all e-mail sent by PHP Mailer are unformatted text, not html e-mail.
I was also testing smtp module (https://www.drupal.org/project/smtp) which had the same problem until I tick the box in smtp that says "Allow to send e-mails formated as Html"
Having said that, Drupal 6 version of PHP Mailer is able to sent html e-mail. I don't understand why Drupal 7 version can't.
Took me a full day to figure this out... after I installed PHP Mailer on Drupal 6 and found that it works.
I would recommend using smtp module to overcome this problem for Drupal 7 but smtp module have its own share of bugs, like this one which uses the wrong e-mail address in the from address field when sending e-mail from contact form.
https://www.drupal.org/node/1686588
https://www.drupal.org/node/1180946
If you need to use smtp module, use the development version to get around this bug, I have tested it myself and confirmed by this comment.
https://www.drupal.org/node/1686588#comment-8833547
Comment #2
GemQueen CreditAttribution: GemQueen commentedThis has worked for me for a long time, and just recently it stopped. I am also using ubercart. In fact, it stopped sending email at all. I disabled PHPMailer, then enabled it again, it started sending emails, but now they are not formatted. I installed an ubercart update not long ago, and I wonder if that has something to do with it.
Comment #3
oadaeh CreditAttribution: oadaeh at Hook 42 commentedI'm closing old issues. If this is still a problem, please reopen it with updated information.