hello, When i use mail() function in php4 and i write a wrong "to:" email, the error notification is send to the apache user (www-data) instead of me
after investigation, i find the problem: i can't change the header like i want $headers .= "Return-Path: <[EMAIL PROTECTED]>\r\n"; $headers .= "From: toto <[EMAIL PROTECTED]>\r\n"; $headers .= "X-Sender: <[EMAIL PROTECTED]>\r\n"; $headers .= "X-Mailer: PHP/". phpversion() ."\r\n"; $headers .= "X-Priority: 3\r\n"; // Message urgent! $headers .= "Errors-To: <[EMAIL PROTECTED]>\r\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\r\n"; My Return-Path is not use What is the solution ? Must i make a new sendmail rule ? Sylvain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]