Posted by Michael Vilain on 08/25/05 19:16
In article <lorenzo-BBDA93.10070625082005@sage.thethurmans.com>,
Lorenzo Thurman <lorenzo@nospamthethurmans.com> wrote:
> 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
It must be your configuration as I have no problems specifying a "Cc:"
header in my emails.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[Back to original message]
|