I have Mimemail installed, yet I can't select "Include files as attachments" under "E-mails" settings. I have to change FALSE to TRUE for webform_email_html_capable in webform.module for it to appear, like this:

case 'webform_email_html_capable':
  $result = variable_get('webform_email_html_capable', TRUE);
  break;

Comments

DanChadwick’s picture

Category: Bug report » Support request
Status: Active » Fixed

Or instead of hacking webform, you could set that using the UI at admin/config/content/webform.

For any settings for which webform doesn't have a UI, the preferred mechanism is to set them in settings.php with $conf['webform_XXX'] = your value.

raj45’s picture

Thank you so much for your fast answer, I hadn't even discovered that Webform had a settings page - it's better not to hack :-)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

crystalgrafix’s picture

Works great! Thanks!

wotney’s picture

Before the option of "Include files as attachments" appears on the webform > emails configuration page, you also need to make sure that on /admin/config/content/webform "HTML mail system" is checked.

Wildecard’s picture

Wotney you are a champion!
Been digging around all morning looking for that option, much obliged!

scott.browne’s picture

Thanks Wotney. Took me 2 hours to find you! The documentation lacks that integral bit of information!