Pages

Thursday 27 February 2014

Sending HTML Emails from Drupal Webform

The Webform module is one of the most popular modules in Drupal.
Webform is relied upon for everything, from contact forms, to donations to event registrations.
By default, Webform sends emails in plain text. In this tutorial, we're going to show you how to send Webform emails in plain text, which allows you choose different layouts or designs.
media_1386859816684.png
  • Go to Configuration > Mime Mail.
  • You can choose Full HTML under the "E-mail format" setting.
media_1386859771575.png
Now it's time to setup your webform.
  • Find your webform.
  • Click the Webform tab and then click E-mails.
  • Click Add.
  • Enter the email addresses you want to send webform results to.
media_1386859674331.png
  • Scroll down to the E-mail template area.
  • Check the "Send e-mail as HTML" box.
  • Click Save e-mail settings and the template box should now show HTML:
media_1386860400793.png
  • Check the results of your new HTML email:
media_1386860307093.png

No comments:

Post a Comment