Forum Moderators: coopster
A somewhat annoying and perplexing problem.
Last saturday my script which sends html emails to various people stopped sending it to them and was only able to send it to my email on the same server.
Since then i've been unable to use even a simple php mail() script to send email to my yahoo or hotmail accounts.
i've checked for a spam blacklist, seems all clear.
does anyone know of why this might be?
here are the headers:
$header = 'MIME-Version: 1.0' . "\r\n";
$header.= 'Content-type: text/html; charset=utf-8' . "\r\n";
$header.= "X-Sender: < email.com >\r\n";
$header.= "From: Blah <" . $your_email . ">\r\n";
$header.= "Return-Path: < email.com >\r\n"; // Return path for errors
$subject= "Blah";
$to="e@e.com";
mail($to, $subject, $text, $header);
one thing i've noticed is that the return path dosent change even tho i set it here, it just gives a generic nobody@isp.com
any help appreciated
thanks