Posted by Lorenzo Thurman on 08/25/05 18:10
I need a good example of how to send mail using PHP. I've used the
mail() function, but I can't set the Reply-To address using it. Or can
I? So I've been using sendmail instead, but I can't seem to figure out
how to get the username in the header. Something like this:
<first last> first_last@somewhere.com
Escaping the '<>' is the problem. Also, I'd like to know how to validate
the input as this info will come from a web based form on my site and I
want to avoid the spammers.
TIA
Navigation:
[Reply to this message]
|