9

Is there any way to use html email for e-mail template in webform email setting?

In my webform node I go to: node/113/webform/emails/1 to change the setting but I don't see any 'html' option. Look my capture:

enter image description here

3 Answers 3

22

HTML Mail will give you that option. It integrates with Webform. To use HTML Mail you will also need Mail System.

Go to Configuration > Mail System and set the Site wide Default to be HTML Mail and the HTML Mail module to be HTML Mail.

And if the option "Send e-mail as HTML" does not appear while editing a Webform email. Go to: admin/config/content/webform check "HTML mail system".

4
  • I just enable both module, but I see no option for html with webform yet. What else do I need to do?
    – chefnelone
    Commented Apr 26, 2012 at 15:23
  • You can actually set HTML Mail to be the default Mail option, and then webform can continue sending to the default. Go to Configuration > Mail System, and set the Site wide Default to be HTMl Mail and the HTML Mail module to be HTML Mail Commented Apr 26, 2012 at 15:40
  • done. It is partially working though. the <b> tag is replace by '*' character.
    – chefnelone
    Commented Apr 26, 2012 at 15:50
  • I enable drupal.org/project/mimemail and now it working fine.
    – chefnelone
    Commented Apr 26, 2012 at 16:05
7

If the option "Send e-mail as HTML" does not appear while editing a Webform email, visit admin/config/content/webform and select HTML mail system.

This was my issue.

2

You could use the Mimemail module which I have used in the past. It allows you to have a html mail option per webform email configuration. This also needs the Mail System Module

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.