RE: [PHP] I have a problem with nobody!

From: Date: Sun, 17 Jun 2007 04:51:05 +0000
Subject: RE: [PHP] I have a problem with nobody!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-257201@lists.php.net to get a copy of this message
Can't you just set the "From" and "Reply-to" headers? <?php $headers = "From: buddy@domain.com\n" ."Reply-to: buddy@domain.com\n" ."\n"; mail( $to, $subject, $message, $headers ); ?> BTW, if you look at Stut's post, and you're response, you've placed the "parameters" parameter in the "headers" parameter location, thus totally borking the purpose of setting the "parameters" parameter >:) Cheers, Rob. On Sun, 2007-06-17 at 00:39 -0400, BSumrall wrote: > 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@domain.com] > Or > Curly Shmuckatelli [info@domain.com] > Or > Moe Shmuckatelli [info@domain.com] > > What is the php driving force that controls the "who sent me" function? > > -----Original Message----- > From: BSumrall [mailto:Brads@ftnco.com] > Sent: Sunday, June 17, 2007 12:31 AM > To: php-general@lists.php.net > Subject: RE: [PHP] 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@domain.com is key! > > But, still can't get rid of nobody. > > How do I make nobody disappear? > > Here is my message header now. > > Nobody [info@floridaonlineinvestments.com] > > Using: > > mail ($to, $subject, $message, $header, > '-finfo@floridaonlineinvestments.com'); > > -----Original Message----- > From: BSumrall [mailto:Brads@ftnco.com] > Sent: Sunday, June 17, 2007 12:19 AM > To: 'Stut' > Cc: php-general@lists.php.net > Subject: RE: [PHP] I have a problem with nobody! > > PS > mail ($to, $subject, $message, $header, '-f > info@floridaonlineinvestments.com'); > > doesn't work either. > > Still have nobody to deal with. > As per being RFC compliant! > > -----Original Message----- > From: Stut [mailto:stuttle@gmail.com] > Sent: Sunday, June 17, 2007 12:15 AM > To: BSumrall > Cc: php-general@lists.php.net > Subject: Re: [PHP] 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@domain.com'); > > Go back and read http://php.net/function.mail properly. > > -Stut -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#257201) next »