Then why didn't you notice that in the additional headers
you can specify the from header?

mail("[EMAIL PROTECTED]", "Whee", "Whee! Mail Body",
     "From: Jason Murray <[EMAIL PROTECTED]>\n");

Jason

-- 
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"

> -----Original Message-----
> From: Brandon Orther [mailto:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]] 
> Sent: Monday, November 12, 2001 2:56 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]\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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to