Preventing php emails listed as spam

A

Anonymous

Guest
I use the following script to send emails using PHP

mail("$sendto","$subject","$message","From: $name <$email> \nReply-To: $email \nX-Mailer: PHP $phpver", "-f $email");

My emails sent via PHP are always listed as spam (by yahoo etc). How do I prevent this? I've tried to include various headers (X-Sender etc) and it still makes no difference.

Thanks
 
your message text , subject line must be similar to spam,
like "Viagra", "enlarge your penis", something like it....
 
Back
Top