Re: Fw: sending e-mail thru PHP page.
| From: | Russ Michell | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Fw: sending e-mail thru PHP page. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8721@lists.php.net to get a copy of this message | ||
HaHa!! I'm just sorting that one too:
Try:
$sender = "me@mydomain.com";
mail("$mail_to","$subject","$body","From: $sender");
That should do it...
Also check out the threads on phpbuilder.com:
http://www.phpbuilder.com/forum/read.php3?num=2&id=117925&loc=0&thread=117925
Good luck!!
Russ
#-------------------------------------------------------#
"Believe nothing - consider everything"
"Web Developers do it on-the-fly."
Russ Michell
Anglia Polytechnic University Webteam
e: r.j.michell@apu.ac.uk
w: www.apu.ac.uk/webteam
t: +44 (0)1223 363271 x 2331
www.theruss.com
#-------------------------------------------------------#