you can use the (optional) headers argument to mail() and add the From
header:

mail ($to, $subject, $body, "From: $from");

"Beauford.2002" <[EMAIL PROTECTED]> wrote in message
000f01c294e0$6ce1fcd0$6401a8c0@p1">news:000f01c294e0$6ce1fcd0$6401a8c0@p1...
> Hi,
>
> I have a form where a user enters an email address. The contents of the
form
> are then sent to myself, which works fine. The problem is that the from
> field says it is from nobody - how can I get it to say it is from the
email
> address the user inputted - or is this possible?
>
> TIA
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to