Closed (works as designed)
Project:
Webform
Version:
7.x-3.17
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2012 at 09:27 UTC
Updated:
15 Jun 2013 at 23:39 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchThanks! Though we should definitely check for both the variable and ensure that the module is enabled, since the variable can persist even after the module is turned off.
Comment #2
duellj commentedHere's a patch that checks if the smtp module is enabled and is setup for HTML.
Comment #3
quicksketchUpon reviewing this patch, I don't think it's the right approach to solving this problem. SMTP module doesn't actually format e-mails as HTML. That option only prevents SMTP module from wrapping the plaintext version of an e-mail in an HTML wrapper. I think the right solution when using SMTP module is to also install HTML Mail or MIME Mail modules, both of which provide the formatting options for HTML e-mails. Then SMTP module is only responsible for sending the e-mail. As far as I can tell, both modules work with SMTP module.
MIME Mail: #132903: Mime Mail intergration: A bond between mimemail and smtp module?
HTML Mail: https://drupal.org/node/1200142