Google Answers Logo
View Question
 
Q: using PHP mail function, and not being filtered as spam ( No Answer,   1 Comment )
Question  
Subject: using PHP mail function, and not being filtered as spam
Category: Computers > Internet
Asked by: garbonzo-ga
List Price: $5.50
Posted: 27 May 2004 22:28 PDT
Expires: 26 Jun 2004 22:28 PDT
Question ID: 353036
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

Clarification of Question by garbonzo-ga on 01 Jun 2004 07:36 PDT
Hi again,

  It might also be helpful for you to know that I am hosted by www.lunarpages.com.

Clarification of Question by garbonzo-ga on 01 Jun 2004 17:03 PDT
Also,

  I do not expect a completely fullproof solution, as I doubt there is
one. I would just like some pointers. I am not a very experienced
programmer as of yet, and I would like the opinion of an experienced
programmer on how best to send mail using PHP while trying to avoid
being filtered. I am currently looking into PEAR to see if there is
any help there.
Answer  
There is no answer at this time.

Comments  
Subject: Re: using PHP mail function, and not being filtered as spam
From: shameerantony-ga on 16 Jun 2004 00:08 PDT
 
Nothing wrong with your PHP code, this is some thing you have to do
with your send Mail software, which is cofigure in your Apache web
server (ASSUMING YOU ARE USING APACHE AND SENDMAIL).

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy