* Thus wrote Glenn Gasner ([EMAIL PROTECTED]): > Here is the code I'm using trying to replace [EMAIL PROTECTED] with my email > address when I use the PHP mail() function to send a message: > > $headers="From: Glenn Gasner <[EMAIL PROTECTED]>\r\n" > ."Reply-To: Glenn Gasner <[EMAIL PROTECTED]>\r\n" > ."Return-Path: Glenn Gasner <[EMAIL PROTECTED]>"; > mail("[EMAIL PROTECTED]","Website Comment",$comments,$headers,"-f > [EMAIL PROTECTED]");
Observe the 5th parameter to mail() function http://php.net/mail Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php