|
Posted by flamer die.spam@hotmail.com on 10/24/06 22:24
Shooter wrote:
> 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
You should only need to specify the $headers .= "From: $FROM
<$FROM>\n"; line in your php, you need to properly configure the
headers in the mail daemon, try to get a better idea of why its being
marked as spam has an anitspam application actually stated that it has
invalid headers? it could be matching keywords in the from field or the
body fields.
Flamer.
[Back to original message]
|