|
Posted by Shooter on 10/24/06 03:22
I am starting to get more of the PHP-generated mails from my site marked as
spam due to a variety of header errors/omissions/etc. My mail notices used
to get by okay, even though they are very simple, but now I'm seeing my own
mails marked as spam by my own mail server. What info do I need to include
in the mails' header now to not generate such errors?
Current example:
{
$headers .= "From: $FROM <$FROM>\n";
$headers .= "X-Sender: <$FROM>\n";
$headers .= "X-Mailer: MyOrganization.org\n"; //mailer
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <$FROM>\n";
//Uncomment this to send html format
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
Thanx,
Wm
Navigation:
[Reply to this message]
|