Re: Re: mail function
| From: | Jason Wong | Date: | Mon, 06 May 2002 09:43:47 +0000 |
| Subject: | Re: Re: mail function | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96225@lists.php.net to get a copy of this message | ||
On Monday 06 May 2002 06:31, Matthew Ward wrote:
> You can add further variables to the end of your current mail() function to
> specify the name of who its from, and the email address that they will send
> the message to when they use the reply function on their email program,
> like this:
>
> mail("joecool@example.com", "My Subject", "Line 1\nLine 2\nLine
> 3",
> "From:Your Name\nReply-To: senders@email.address");
Mail headers should be separated by "\r\n".
http://cr.yp.to/immhf/header.html
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
How many "coming men" has one known! Where on earth do they all go to?
-- Sir Arthur Wing Pinero
*/