Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedOr 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.
Comment #2
raj45 CreditAttribution: raj45 commentedThank you so much for your fast answer, I hadn't even discovered that Webform had a settings page - it's better not to hack :-)
Comment #4
crystalgrafix CreditAttribution: crystalgrafix commentedWorks great! Thanks!
Comment #5
wotney CreditAttribution: wotney commentedBefore 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.
Comment #6
Wildecard CreditAttribution: Wildecard as a volunteer commentedWotney you are a champion!
Been digging around all morning looking for that option, much obliged!
Comment #7
scott.browne CreditAttribution: scott.browne commentedThanks Wotney. Took me 2 hours to find you! The documentation lacks that integral bit of information!