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.