Closed (fixed)
Project:
Answers
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2012 at 14:35 UTC
Updated:
17 Mar 2012 at 23:00 UTC
First, thanks you very much for this module :)
I am using the Mime mail module in my project because it allows me to use HTML tags in D7.
I added some HTML tags to the email notification template and the mail server rejected the email because it has a duplicate 'MIME-Version' declaration (for information, i am using amazon SES for sending emails).
I noticed that in answers.notify.inc, there is the Mime version.
Anyway, I found a quick workaround:
In answers.notify.inc at line 115, replace
$message['headers']['Mime-Version'] = '1.0';
by
if (!module_exists('mimemail')){
$message['headers']['Mime-Version'] = '1.0';
}It surely not the cleanest way, but for me it works. Maybe there is a better way to avoid duplication MIME Version.
Comments
Comment #1
chipcleary commentedThanks for identifying this. I am not sure whether there is a better way ... but this way does seem harmless.
I have committed to 7x.-3.x. To be ported.
Comment #2
chipcleary commentedNow committed to 6.x-2.x.