Hoy hoy,
I am currently developing a Volunteer Registration System in PHP and
MySQL. When someone fills out the application form, I use the mail()
function to send them an email, which contains a confirmation code.
After they confirm their email, I send them another email with a
generated password. My question is, what measures can I take to reduce
the chance that these emails will be caught by a spam filter? I am not
very far along in developing, and I had a friend test it out, and she
told me that she didn't get the email. She finally found out it had
been filtered out. She uses AOL.
When this system is actually used, I can't have the email messages
being filtered out, because it is a required part of the registration
process. My code looks something like this:
$to = $email;
$from = "From: [an email address]";
$subject = "MagBud Volunteer Registration Confirmation";
$message = " [message body] ";
$sent = mail($to, $subject, $message, $from);
Are there any headers that will make this email less revolting to spam
filters? Thanks.
garbonzo-ga |