I have been having trouble with the inbuilt contact form system that is built into the Enfold them. When someone sends an email through it, it goes straight into my junkmail folder. Contacting my email provider, they say it is because the form is getting the follow header sent through it, which is causing the problem. Anyone have any ideas? Doesn’t seem to happen with the contact 7 plugin, if I use that instead.
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: “MIME-Version”
Just adding text so I can tick the box so that I get emailed replies.
Hey!
Please try following bug fix – open up /wp-content/themes/enfold/framework/php/class-form-generator.php and replace
$header = 'MIME-Version: 1.0' . "\r\n";
$header .= 'Content-type: text/html; charset=utf-8' . "\r\n";
with
//$header = 'MIME-Version: 1.0' . "\r\n";
$header = 'Content-type: text/html; charset=utf-8' . "\r\n";
and
$header = 'MIME-Version: 1.0' . "\r\n";
$header .= 'Content-type: text/html; charset=utf-8' . "\r\n";
with
//$header = 'MIME-Version: 1.0' . "\r\n";
$header = 'Content-type: text/html; charset=utf-8' . "\r\n";
Cheers!
Peter
I’m experiencing this issue as well. I’m using Amazon SES via an SMTP WordPress plugin. The MIME-Version header really isn’t necessary since wp_mail uses PHPMailer which includes that header.
I’m assuming there will be an update?
Thanks.
Hey!
Yes, we’ll remove it with the next update.
Cheers!
Peter