Commerce emails are not being sent as HTML

I have HTML mail 7.x-2.65 installed & configured.
I have 2 templates in /sites/all/themes/acquia_marina
htmlmail--htmlmail.tpl.php
htmlmail--variable_email--commerce_email_order.tpl.php

When I send a test email from HTML mail it works fine.

Comments

jonathan_hunt’s picture

I get the same: my instance of hook_email_alter() sees HTML but what is received is the HTML email converted to plain text.

jonathan_hunt’s picture

I resolved this by using the admin UI for Mail System (admin/config/system/mailsystem) to add a new setting mapping Variable Email module with key 'commerce_email_order' to HTMLMailSystem.

derekw’s picture

#2 worked for me as well, thanks.

xurizaemon’s picture

You beauty Jonathan, thanks for documenting this. Worked for me also.

jsheffers’s picture

I gave #2 a try and it doesn't seem to work. It's pulling my HTMLMail template from htmlmail--htmlmail.tpl.php, but the content of the email is getting brought in plain text.

Screenshot of mailsystem setup: http://cl.ly/image/3w3r261H0Z2Q

generalconsensus’s picture

Component: Miscellaneous » Documentation
Category: Support request » Bug report
Issue summary: View changes
Status: Active » Needs review

Is this in the documentation yet?

rszrama’s picture

Category: Bug report » Task
Status: Needs review » Closed (outdated)