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'm getting a Gad Gateway error when trying to send mail with this module enabled.
using modules:
htmlmail
mailsystem
if mailmime is disabled, emails are sent fine. With it enabled i get a 502 bad gateway error.
I'm using php 5.6 and all the module requirements are met.
any suggestions?
thanks.
Comments
Comment #2
loze CreditAttribution: loze commentedI just noticed, I'm also getting the flowing errors in my log with this enabled,
Strict warning: Declaration of MailMIME::addAttachment() should be compatible with Mail_mime::addAttachment($file, $c_type = 'applicatio...', $name = '', $isfile = true, $encoding = 'base64', $disposition = 'attachment', $charset = '', $language = '', $location = '', $n_encoding = NULL, $f_encoding = NULL, $description = '', $h_charset = NULL, $add_headers = Array) in _registry_check_code() (line 3494 of /var/www/html/includes/bootstrap.inc).
and
Deprecated function: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in MailMIME::toHeaders() (line 794 of /var/www/html/sites/all/modules/contrib/mailmime/mailmime.inc).
Comment #3
loze CreditAttribution: loze commentedI switched to the dev version of the module, and the 502 error is gone.
my bad.
Comment #4
loze CreditAttribution: loze commented