add an extra variable to your mail function. php takes an optional 4th
parameter, which adds features like "From" and "Reply". example:
$extra = "From: $name <$email>\r\n\Reply-To: $email";

so the mail function would be:
mail($recipient,$subject,$body,$extra);

Hope this helped.


"Ml" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How exactly would I go about fixing my current php/sendmail setup so that
it
> uses the value specified in my php input form in the
> from box instead of always setting the email from address as :
> [EMAIL PROTECTED] ???
>
> Any help would be greatly appreciated. Thanks!
>
>



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

Reply via email to