O'Reilly logo

Drupal 7 Webform Cookbook by Douglas Vernon Denny

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sending HTML e-mails

Up to now our Webform has been sending rather boring e-mails in plain text format. By empowering our site with the ability to send HTML e-mails we can create a professional impression by sending out e-mails that have color, varying font sizes, and/or embedded images.

Let's have a look at the steps we need to follow to have our site send pretty HTML e-mails using the Mail System and Mime Mail contributed modules.

Getting ready

Let us go to the project home page to download and install the modules from http://drupal.org/project/mailsystem.

How to do it...

We have several steps to negotiate on our way to achieving HTML e-mails being sent from Webform:

  1. Firstly we need to enable Mail System, Mime Mail, and Mime Mail CSS Compressor ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required