View Single Post
Old 02-10-2004, 05:05 PM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
I have a form on my website which sends out e-mail like so:
Quote:
mail("$SendToEmail", $yoursubject, $emailtext, "From: $email");
$SendToEmail is the recipient's e-mail address.
$yoursubject is the e-mail subject line.
$emailtext is the body of the e-mail.
$email is the sender, so you could set that to the Human Resources e-mail address if you wanted to.

You can find out more about how the PHP mail function works here.

Hope this helps.
vinyl-junkie is offline   Reply With Quote