Reply to topic
ASP Mail REPLY TO email address given in Form * Please Help
aerojonny


Joined: 31 Oct 2004
Posts: 5
Location: Santa Barbara, CA
Reply with quote
Any Ideas what I am doing Wrong? In the email generated It says Nams Email, not what the form generates....HELP
<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "Name"
Mailer.ReplyTo= Request("Email")
Mailer.FromAddress= "Email"
Mailer.RemoteHost = "mail.company.com"
Mailer.AddRecipient "Reservation Request", "me@company.com"
Mailer.Subject = "company.com | Rental Inquiry"
strMsgHeader = "Contact Information follows" & vbCrLf
for each qryItem in Request.Form
strMsgInfo = strMsgInfo & qryItem & " - " & request.Form(qryItem) & vbCrLf
next
strMsgFooter = vbCrLf & "End of form information"
Mailer.BodyText = strMsgHeader & strMsgInfo & strMsgFooter
if Mailer.SendMail then
Response.Write "Thank you, your information was submitted...We will contact you soon!"
else
Response.Write "Mail send failure. Error was " & Mailer.Response
end if
set Mailer = Nothing
%>
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
Posting in one thread is enough

http://forums.hostmysite.com/viewtopic.php?t=617
ASP Mail REPLY TO email address given in Form * Please Help
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic