Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reply to Form Post

Status
Not open for further replies.

Beowulf005

Technical User
Apr 5, 2005
640
Website -- Brookside Kennel

When someone posts a reservations it gets emailed to an exchange account. What I want to accomplish is then when someone makes a request the webhost mail server sends out the email to us with a email address of the website. So when you reply its wants to send back to the website.

Is it possible to have the reply to go to the email address posted in the form?

Thank you

When frustrated remember, in the computer world there is almost always a backdoor.
 
If i'm following you right, you'll need to ask them for their email address in the form

Code:
Email: <INPUT NAME="email" SIZE=35 />

Then in your emailing code (ASP shown here), check if it's filled in and then use it.

Code:
email=Request.Form("email")
If Len(email) > 6 AND InStr(email, "@") THEN
	objMail.From = email  'use email from form
ELSE 
	objMail.From = "webmaster@company.com"   'no email provided	 
END IF

 
Yes have an input field for the email name. Then a code to verify that they inputed it as an email address.

That information is what I want to populate in the "To" field when clicking reply in Outlook 2007

When frustrated remember, in the computer world there is almost always a backdoor.
 
when you hit Reply in Outlook it returns to the From: email. So if you are asking in your form for an email then it's not being used correctly in your code to send the email. Post your email code so i can help.
 
I am unsure of the code currently on the site. Have inherited the site and don't know how the form works. Planning on redoing it. However was checking on if it was possible to have the form email end up being the reply to. Similar to "Have replies sent to:" in Outlook

When frustrated remember, in the computer world there is almost always a backdoor.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top