I am creating a mail application which sends Email contains 1 Image(size-500KB). The mail is always going in spam folder and it always ask to 'Display Image Below'. I am also inserting all the necessary Headers which is:
$headers = "MIME-Version: 1.0" . "
";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "
";
$headers .= "Reply-To: webmaster@example.com" . "
" .
$headers .= "X-Mailer: PHP/" . phpversion();
mail($to,$subject,$message,$headers);
How do i prevent mail going in Spam and Image should display without clicking 'Display Image Below'? Thanx