5
Answers
Vote up!
3
Vote down!

Unable to get Order notification at Commerce Kickstart 2.4 in html format

I have installed Commerce Kickstart 2.4 site on my local development environment based on
AcquiaDevDesktop stack (acquia-drupal-win-7.19.18-5932.47952.exe).
I have noticed problem in generated notification emails by rules engine (Commerce order message: order notification e-mail)
Every message is sent as Content-Type: text/plain instead text/html:
(X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
MIME-Version: 1.0
Content-Transfer-Encoding: 8Bit
Content-Type: text/plain; charset="utf-8")
Therefore in Thunderbird I see html markup instead well formatted message like this:
<div class="message-wrapper">
<div class="header">
<div class="logo"><a href="http://localhost:8082/commerce/"><img src="http://localhost:8082/commerce/profiles/commerce_kickstart/themes/commer... 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://localhost:8082/commerce/user/6/orders/7">#7</a></span>, placed on Sun, 02/24/2013 - 13:46
</p>

By default I have to install SMTP Authentication Support module in order to send emails via smtp.googlemail.com.
How enable text/html content type in generated emails?

Thanks in advance,

Asked by: Gerom76
on February 24, 2013

Comments

5 Answers

Vote up!
0
Vote down!

I have the same problem, ¿some solution?

Answer by: avril
Posted: Apr 1, 2013
Vote up!
0
Vote down!

Same problem here, did you find the solution?

Answer by: NatiNog
Posted: Apr 26, 2013
Vote up!
0
Vote down!

Hi guys,

I have found solution myself.
You should define new type mail configuration
based on smtpmail and htmlmail class.

I hope it helps.

Answer by: Gerom76
Posted: Jun 4, 2013

Comments

@Gerom76: can you describe the steps and setting to define this new type mail configuration? Thanks

- chefnelone on March 27, 2014