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
PHP mail() seen as spam
Moderator: General Moderators
Re: PHP mail() seen as spam
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();