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

Comprehensive tutorial on (HTML-) Mail configuration

Hello,

commerce has been good to me so far. Easy, flexible...

But when it comes to sending (html-) mails, this thing is driving me totally crazy. There seems to be no straight and simple way to send out a formatted html mail for an order confirmation including summary and make it look like I would like it to.

I did not start with commerce kickstart as this shop had to be implemented into an existing drupal site. But also trying the pure kickstart did not work out for me. The sending of html mails failed.

The closest to a formatted order confirmation was using the [commerce-order:commerce_line_items] token in a rules action but that one referred to a hardcoded view that I customized with fields (add to cart) I don't want in the confirmation mail. Additionally it comes with an "edit" link for the view.

So here is my question: is there a step by step tutorial with explanation on how to properly set up the mail-system for the shop?

Thank you.

Asked by: l0calh0rst
on July 1, 2013

2 Answers

Vote up!
0
Vote down!

Hey,

By installing the contributed modules "Mailsystem" and "Mimemail", all emails sent by Drupal can be transformed into HTML emails, using a basic template file for the frame of your mails (everything but the real body content).

Using views and their custom templates can help you theme the individual parts of the content of your emails (the product summary / order totals).

Combining these two will allow you to format your order confirmation emails just the way you want them to.

Greets,
Kim

Answer by: kim.kennof
Posted: Jul 3, 2013