RE: [PHP] using mail

From: Date: Mon, 12 Nov 2001 22:55:39 +0000
Subject: RE: [PHP] using mail
Groups: php.general 
Request: Send a blank email to php-general+get-74336@lists.php.net to get a copy of this message
Then why didn't you notice that in the additional headers you can specify the from header? mail("jasonm@melbourneit.com.au", "Whee", "Whee! Mail Body", "From: Jason Murray <jasonm@melbourneit.com.au>\n"); Jason -- Jason Murray jasonm@melbourneit.com.au Web Developer, Melbourne IT "Work now, freak later!" > -----Original Message----- > From: Brandon Orther [mailto:orther@webintellects.com] > Sent: Tuesday, November 13, 2001 9:52 AM > To: PHP User Group > Subject: RE: [PHP] using mail > > > YES I DID READ THE F...in MANUAL > > -----Original Message----- > From: Kurt Lieber [mailto:php@kirpatrick.com] > Sent: Monday, November 12, 2001 2:56 PM > To: php-general@lists.php.net > Subject: Re: [PHP] using mail > > Did you RTFM? > > http://www.php.net/manual/en/function.mail.php > > Just create a variable and input it as an extra header. > > $from = "from: someone@somewhere.com\r\n" ; > > mail($to,$subject,$message,$from); > > On Monday 12 November 2001 02:41 pm, you wrote: > > Hello, > > > > I am using the mail() function right now to send e-mails. > Is there a > > way I can dynamically change where it says the e-mail is from? > > > > Thanks > > Brandon > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.general (#74336) next »