Forums

ASP

This topic is locked

CDONTS - request.form not showing

Posted 25 Jul 2002 11:03:11
1
has voted
25 Jul 2002 11:03:11 Sharon Burkey posted:
Right got my form inserting into the database fine, getting a confirmation sent to me fine - but the form data isn't there - and therefore the confirmation sent to the new user isn't going either:

Here's my code

<%
' SET UP MAIL FOR WEBMASTER
Dim myMail, myBody
Set myMail = CreateObject("CDONTS.NewMail"
myBody ="Firstname: "& request.form("firstname" & vbcrlf & "Surname: "& request.form("lastname" & vbcrlf & "E-Mail: " & request.form("email"
myMail.From=" "
myMail.To=" "
myMail.Subject="NEW REGISTRATION"
myMail.Body=myBody
myMail.Send

' SET UP MAIL FOR CLIENT
Set myMail = CreateObject("CDONTS.NewMail"
myMail.From=" "
myMail.To=request.form ("email"
myMail.Subject="THANKS FOR YOUR ORDER "& request.form ("FirstName"
myMail.Body=myBody
myMail.Send
set myMail=nothing
%>

Help...please!

Reply to this topic