RE: [PHP] using mail()
| From: | Jay Blanchard | Date: | Fri, 01 Aug 2003 17:03:13 +0000 |
| Subject: | RE: [PHP] using mail() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-157984@lists.php.net to get a copy of this message | ||
[snip]
If I am using this code:
mail("amccomb@indiana.edu", "test", "testbody");
and want to add a From: line, how do I do it?
Also, is this an excepted way of sending mail from a web page?
[/snip]
Read http://us4.php.net/manual/en/function.mail.php
Example 2 (How's
that Chris?)
And yes, it is acceptable.