View Single Post
Old 12-03-2007, 11:29 PM   #1 (permalink)
aristoworks
The Contributor
 
aristoworks's Avatar
 
Join Date: Nov 2007
Location: Nashville
Posts: 44
Thanks: 7
aristoworks is on a distinguished road
Default Which mail() headers do you use?

mail() usually works pretty good for me out of the box but I've got a custom build (very simple) eCard system I put together for a client.

I would have used the phpmailer class but as of a few weeks ago the version out was giving this client's server a hard time.

All being said and done - the system is built and working fine but some emails are not receiving mail. Today I setup a simple test of the phpmailer class and ran it on the same emails that ARE NOT receiving the email and they DID receive it from phpmailer.

I can only attribute this to the fact that I'm using limited "headers" on my custom class.

Here's what I'm using:

MIME-Version 1.0
Content-type: text/html; charset=iso-8859-1
From:
Reply-To:
Return Path:
X-Mailer: PHP 5.1

Any suggestions for other one's I should include?

Thanks
jw
Send a message via AIM to aristoworks
aristoworks is offline  
Reply With Quote