RE: [PHP] using mail
| From: | Brandon Orther | Date: | Mon, 12 Nov 2001 22:52:25 +0000 |
| Subject: | RE: [PHP] using mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74335@lists.php.net to get a copy of this message | ||
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