Tags/topics: 
2
Answers
Vote up!
0
Vote down!

Enabling HTML Mail

Hi,

Well, I'm testing a fairly vamilla kickstart2 install working with Paypal Express checkout which is working fine.

I'm using the SMTP authentication module and a gmail account to send email and I've selected the SMTP Auth Mod. option to enable sending of HTML messages and the messages I contain are HTML format howver they are sent as plain text, so I get messages that look like this

<div class="message-wrapper">
<div class="header">
<div class="logo"><a href="http://ks.localhost:8082/"><img src="http://ks.localhost:8082/profiles/commerce_kickstart/themes/omega_kickst... alt="Commerce Kickstart" title="Commerce Kickstart" /></a></div> <div class="thank-you">Thanks for your order</div> </div> <div class="body"> <p class="detail">
Here are the details for your order <span class="order"><a href="http://ks.localhost:8082/user/1/orders/8">#8</a></span>, placed on Sat, 05/25/2013 - 21:55
</p>
:

How do I persuade KS to send the email asHTML format rather than plain text format?

Asked by: pxs
on May 25, 2013

2 Answers

Vote up!
0
Vote down!

1. So the SMTP Authentication Support module replace the Mime Mail in the Mail System.
and it doesn't know how to built right the HTML Emails.
I suggest to use PHPMailer module - https://drupal.org/project/phpmailer - instead.
This email won;t change the Mail system, it will just use the PHPMailer library for sending emails.
or try to have the SMTP working with your gmail on your environment.

2. I think something similar could happen for Mime Mail with "Plain text" selected as E-mail format (Mime Mail admin page - admin/config/system/mimemail)

Answer by: vasike
Posted: Jun 5, 2013

Comments

hi Vasike

Thanks for your valuable and so simple answer to solve this type of problem.

I am facing same type of problem while sending Order Confirmation Mail.

Thanks again....

- Pankaj Pareek on July 18, 2015
Vote up!
0
Vote down!

+1 I've got the same behavior, did you solve it?

Answer by: Jstore
Posted: Jul 10, 2013