When I send mail, using PHP mail function, messages are rejected by server anti-spam software, except to users who have one address based on that server.
How can I solve this problem ? Thanks.
That's my relevant code :
while ($row = mysql_fetch_array($result)) {
set_time_limit(0);
$email = $row['email'];
mail("$email", stripslashes($_POST[subject]), stripslashes($_POST[message]),
"MIME-Version: 1.0\r\n".
"Content-type: text/plain; charset=iso-8859-1\r\n".
"From: TRL News <root@trl8.net>\r\n".
"Reply-To: <root@trl8.net>");
print "Mail enviado para: $email<br>";
}
And the details mail message :
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
From: TRL News <root@trl8.net>
Reply-To: <root@trl8.net>
Message-Id: <200407171329781.SM01532@harpwro-14>
X-RBL-Warning: NOABUSE: "Not supporting abuse@mail.telepac.pt"
X-RBL-Warning: NOPOSTMASTER: "Not supporting postmaster@mail.telepac.pt"
X-RBL-Warning: HELOBOGUS: Domain harpwro-14 returns a server failure for MX or A records.
X-RBL-Warning: SPAMHEADERS: This E-mail has headers consistent with spam [4000020e].
X-RBL-Warning: WEIGHT10: Weight of 12 reaches or exceeds the limit of 10.
X-Declude-Sender: afalmeida@mail.telepac.pt [209.161.96.164]
X-Note: This E-mail was scanned by Declude JunkMail ( for spam.
X-Spam-Tests-Failed: NOABUSE, NOPOSTMASTER, HELOBOGUS, SPAMHEADERS, WEIGHT10 [12]
X-Note: This E-mail was sent from 209-161-96-164.joinweb.com ([209.161.96.164]).
How can I solve this problem ? Thanks.
That's my relevant code :
while ($row = mysql_fetch_array($result)) {
set_time_limit(0);
$email = $row['email'];
mail("$email", stripslashes($_POST[subject]), stripslashes($_POST[message]),
"MIME-Version: 1.0\r\n".
"Content-type: text/plain; charset=iso-8859-1\r\n".
"From: TRL News <root@trl8.net>\r\n".
"Reply-To: <root@trl8.net>");
print "Mail enviado para: $email<br>";
}
And the details mail message :
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
From: TRL News <root@trl8.net>
Reply-To: <root@trl8.net>
Message-Id: <200407171329781.SM01532@harpwro-14>
X-RBL-Warning: NOABUSE: "Not supporting abuse@mail.telepac.pt"
X-RBL-Warning: NOPOSTMASTER: "Not supporting postmaster@mail.telepac.pt"
X-RBL-Warning: HELOBOGUS: Domain harpwro-14 returns a server failure for MX or A records.
X-RBL-Warning: SPAMHEADERS: This E-mail has headers consistent with spam [4000020e].
X-RBL-Warning: WEIGHT10: Weight of 12 reaches or exceeds the limit of 10.
X-Declude-Sender: afalmeida@mail.telepac.pt [209.161.96.164]
X-Note: This E-mail was scanned by Declude JunkMail ( for spam.
X-Spam-Tests-Failed: NOABUSE, NOPOSTMASTER, HELOBOGUS, SPAMHEADERS, WEIGHT10 [12]
X-Note: This E-mail was sent from 209-161-96-164.joinweb.com ([209.161.96.164]).