After updating from webform 7.x-3.18 to 7.x-4.0-rc3, upon submitting any webforms, the following message was encountered: "Unable to send e-mail. Contact the site administrator if the problem persists." My site is currently running Drupal 7.
Mail modules setup being used as follows:
HTML Mail
Mail System
SMTP Authentication
Webform
A new HTML Mail module class, HTMLMailSystem__SmtpMailSystem, was created at Mail System settings, however, webform did not appear to recognise this setting and emails were still being sent through the default mail system.
With reference to New MIMEMail SMTP settings not recognized by Webform, the following line was added to line 4394 of the webform.module file:
$systems[] = 'HTMLMailSystem__SmtpMailSystem';
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | webform-htmlmail_smtp-2259375-4.patch | 422 bytes | huijing |
| #1 | webform_htmlmail_smtp-2259375-1.patch | 526 bytes | huijing |
Comments
Comment #1
huijing commentedPatch attached.
Comment #2
huijing commentedComment #4
huijing commentedCreate patch using git diff on latest dev branch to resolve simpletest failure on step 5
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch webform-htmlmail-mimemail-mail_system-compatibility-2200985-9.patch. Unable to apply patch. See the log in the details link for more information.
Comment #5
huijing commentedComment #7
danchadwick commentedSeems correct. Committed to 7.x-4.x and 8.x. Thank you for the patch.