R
rml
I'm using the following code in a confirmation page. It take the fields from
a form (a.html) and e-mails it. It works fine. My question is, it does not
seem to work with an asp page. (a.asp) It does not bring over the values if
the originating page is an asp page only works if it is an html. Must have
something to do with "request.form" How can I make it work with my asp page?
Thanks.
<%
Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.To = request.form ("recipient")
objMail.Subject = request.form ("subject")
objMail.From = request.form ("sender")
objMail.Body = request.form ("body")
objMail.Send
Set objMail = Nothing
%>
a form (a.html) and e-mails it. It works fine. My question is, it does not
seem to work with an asp page. (a.asp) It does not bring over the values if
the originating page is an asp page only works if it is an html. Must have
something to do with "request.form" How can I make it work with my asp page?
Thanks.
<%
Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.To = request.form ("recipient")
objMail.Subject = request.form ("subject")
objMail.From = request.form ("sender")
objMail.Body = request.form ("body")
objMail.Send
Set objMail = Nothing
%>