THE BIG MAN
2004-01-10 20:41:52 UTC
I am getting the errror Active Server Pages error 'ASP 0141'
Page Command Repeated
/contactform.asp, line 12
The @ command can only be used once within the Active Server Page.
Anybody know why?
<%
Dim myMail, myBody
myBody ="Name: "& request.form("name") & vbcrlf & "company: "& vbcrlf
& request.form ("company") & vbcrlf & "telephone: "& vbcrlf &
request.form ("telephone") & vbcrlf & "email: "& vbcrlf & request.form
("email") & vbcrlf & "information: "& vbcrlf & request.form
("information")
Set myMail = Server.CreateObject ("CDONTS.NewMail")
myMail.From = request.form("email")
myMail.To = "***@designprofessional.co.uk"
myMail.Subject = "Customer Contact"
myMail.Body = myBody
myMail.Send
set myMail=nothing
Response.Redirect("thanks.html")
%>
Page Command Repeated
/contactform.asp, line 12
The @ command can only be used once within the Active Server Page.
Anybody know why?
<%
Dim myMail, myBody
myBody ="Name: "& request.form("name") & vbcrlf & "company: "& vbcrlf
& request.form ("company") & vbcrlf & "telephone: "& vbcrlf &
request.form ("telephone") & vbcrlf & "email: "& vbcrlf & request.form
("email") & vbcrlf & "information: "& vbcrlf & request.form
("information")
Set myMail = Server.CreateObject ("CDONTS.NewMail")
myMail.From = request.form("email")
myMail.To = "***@designprofessional.co.uk"
myMail.Subject = "Customer Contact"
myMail.Body = myBody
myMail.Send
set myMail=nothing
Response.Redirect("thanks.html")
%>