RE: [PHP] Send mail via exact account
| From: | Jason Murray | Date: | Thu, 30 Aug 2001 07:26:43 +0000 |
| Subject: | RE: [PHP] Send mail via exact account | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65171@lists.php.net to get a copy of this message | ||
> I want to send mail via exact account ( i.e. support@somehost.com ).
> can I do it with php ?
Yes, in future please check the PHP manual before asking, as the manual
entry for mail() specifically mentions this purpose.
mail("recipient@whee.com", "subject", "mail",
"From: support@somehost.com\nReply-to: support@somehost.com\n");
--
Jason Murray
jasonm@melbourneit.com.au
Web Developer, Melbourne IT
"Work now, freak later!"