PHP mail() and AOL Spam Filter

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Anybody have good advice on dodging AOL's spam filters when mail()ing
from PHP?

We are having trouble with this code:

$fromEmail = '';

$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: This Foundation <$fromEmail>\r\n";
$headers .= "Reply-To: This Foundation <$fromEmail>\r\n";
$headers .= "Return-Path: $fromEmail\r\n";
$headers .= "Message-ID: <".time()." TheSystem@".
$headers .= "X-Mailer: PHP v".phpversion()."\r\n";
mail($to, '$subject, $msg, $headers);

We had originally been sending bounces to a different Return-Path
address (see below)  but simplified this after AOL flagged all the
emails as spam.  Also the To field is being set like this
RealFirstName RealLastName <Address> and the message has a greeting
using the RealFirstName.

mail($to, '$subject, $msg, $headers, "-f");

The message is not spam, it is a thank you mail we are sending one at
a time to 4500 volunteers who helped with a Bowl Game in New Orleans.

Any thoughts?



Site Timeline