Reply to

I have a form on my website with a field to let the user input their email address. How can I make the from/reply to address be there email?

Thanks,

Sam

Show us the code you are using. There will need to be a couple of lines something like this:

if (@$_POST["submitted"]) {
	$nom = $_POST["name"];
	[COLOR="Red"]$mail[/COLOR] = trim($_POST["email"]);
}

mail ($destination_email, $email_subject, $email_body, "From: \\"$nom\\" <[COLOR="Red"]$mail[/COLOR]>" . "\\r\
" . "Reply-To: \\"$nom\\" <[COLOR="Red"]$mail[/COLOR]>");

I got if figured out.

Thanks for thanks for the help!