Page 1 of 1

PHP mail() seen as spam

Posted: Sun Feb 07, 2010 4:40 am
by azhan
Hello guys,

What makes php mail() goes into spam folder in yahoo? I've already get rid of url string inside the mail body but still the mail goes into spam folder...

huhu

azhan

Re: PHP mail() seen as spam

Posted: Sun Feb 07, 2010 8:48 am
by synical21
Have you set correct headers?

Code: Select all

 
$headers = "From: (EMAILHERE)\r\n";
$headers .= "Reply-To: (EMAILHERE)\r\n";
$headers .= "Return-Path: (EMAILHERE)\r\n";
$headers .= "X-Mailer: PHP" . phpversion();