Hi,
Here is a piece of code that I wrote:
$headers = "Return-Path: <email@email.com>\r\n";
$headers .= "MIME-Version: 1.0\r\n";
if($format=="HTML") $headers .= "Content-type: text/html; charset=\"iso-8859-1\"\r\n";
$headers .= "From: "test@test.com"\r\n";
$headers .= "X-Priority: 3\r\n";
$headers .= "X-MSMail-Priority: Normal\r\n";
mail($row->email,$subject,stripcslashes($message),$headers);
I have the following problem: the return path does not receive any emails to notify of the invalid emails contained in the DB. I was told that it may be related to the fact that the return-path is different from the From address. Are there any ways arround this?
Thanks,
Chris