Hello all,

It looks like my welcome email is getting sucked up in a good 10% of my user's spam boxes. I have ran the email through our Symantec Email appliance and it sucks up the email because of a "Malformed Header". I looked at the header of the welcome email, and it looks like there are a few duplicate lines. X Mailer PHP Mailer leaves some header lines, and then Xmailer Drupal leaves some header info as well. I suspect that this is whats screwing up the header. Bellow is and example of these headers, Any ideas on how to clean this up?:

........
X-Mailer: PHPMailer [version 1.73]
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
Errors-To: admin@mypetstreet.com
Sender: admin@mypetstreet.com
Reply-To: admin@mypetstreet.com
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"

thanks,
ash

Comments

ashtronaut’s picture

Ok gang,

I fixed it. . . . I went into common.inc and commented out the part where drupal adds headers to the email. So far it seems to work, but we will see if this conflicts with other modules. Just for your info, I am running php 5.2 and php mailer 1.73.

ash