The last paragraph of the page Go figure! The appropriate code is; mail ($to, $subject, $message, $header = 'From: "Larry, Curly and Moe" <info@xxxxxxxxxx>'); -----Original Message----- From: BSumrall [mailto:Brads@xxxxxxxxx] Sent: Sunday, June 17, 2007 12:39 AM To: php-general@xxxxxxxxxxxxx Subject: RE: I have a problem with nobody! Let's take it one step further for arguments sake. What is I wanted to change "nobody" as the sender to, let's just say Larry or Curly, or Moe? Making message header as; Larry Shmuckatelli [info@xxxxxxxxxx] Or Curly Shmuckatelli [info@xxxxxxxxxx] Or Moe Shmuckatelli [info@xxxxxxxxxx] What is the php driving force that controls the "who sent me" function? -----Original Message----- From: BSumrall [mailto:Brads@xxxxxxxxx] Sent: Sunday, June 17, 2007 12:31 AM To: php-general@xxxxxxxxxxxxx Subject: RE: I have a problem with nobody! Well, I am now 1 step closer The php file do nor reference the importance of "having no spaces" between the -f and email address. -finfo@xxxxxxxxxx is key! But, still can't get rid of nobody. How do I make nobody disappear? Here is my message header now. Nobody [info@xxxxxxxxxxxxxxxxxxxxxxxxxxxx] Using: mail ($to, $subject, $message, $header, '-finfo@xxxxxxxxxxxxxxxxxxxxxxxxxxxx'); -----Original Message----- From: BSumrall [mailto:Brads@xxxxxxxxx] Sent: Sunday, June 17, 2007 12:19 AM To: 'Stut' Cc: php-general@xxxxxxxxxxxxx Subject: RE: I have a problem with nobody! PS mail ($to, $subject, $message, $header, '-f info@xxxxxxxxxxxxxxxxxxxxxxxxxxxx'); doesn't work either. Still have nobody to deal with. As per being RFC compliant! -----Original Message----- From: Stut [mailto:stuttle@xxxxxxxxx] Sent: Sunday, June 17, 2007 12:15 AM To: BSumrall Cc: php-general@xxxxxxxxxxxxx Subject: Re: I have a problem with nobody! BSumrall wrote: > I have read about a -f function. > I tried > mail ($to, $subject, $message, -f$header); > mail -f($to, $subject, $message, $header); > > both result in parse error. Boy did you not read the documentation carefully! mail($to, $subject, $message, $headers, '-fsender@xxxxxxxxxx'); Go back and read http://php.net/function.mail properly. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php