I received and error message(below) when I click the submit button:
Method Not Allowed
The requested method POST is not allowed for the URL /contactform/mail.asp.
Apache/1.3.33 Server at www.Test.com[URL=“http://www.hopetodaymagazine.com”] Port 80
my send button has the code below:
on (release) {
getURL(“mail.asp”,"",“POST”);
gotoAndPlay(2);
}
my mail.asp has the code below:
<% @language=“VBSCRIPT”%>
<%
Dim myMail, myBody
myBody = myBody & “Email:” & request.form(“email”) & vbcrlf
myBody = myBody & "Name: "&request.form(“name”) & vbcrlf
myBody = myBody & “Address:” & request.form(“address”) & vbcrlf
myBody = myBody & “City:” & request.form(“city”) & vbcrlf
myBody = myBody & “State:” & request.form(“state”) & vbcrlf
myBody = myBody & “Zip Code:” & request.form(“zip”) & vbcrlf
myBody = myBody & “Phone Number:” & request.form(“phone”) & vbcrlf
myBody = myBody & “Message:” & request.form(“message”)
Set myMail = CreateObject(“CDONTS.NewMail”)
myMail.BodyFormat = 1
myMail.MailFormat = 1
myMail.From = request.form(“email”)
myMail.To = "contactus@testmagazine.com"
myMail.Subject = “Test Magazine Contact Form”
myMail.Body = myBody
myMail.Send
set myMail=nothing
%>
I dont know why its not going to the last frame which says “thanks for your email”, but gives the error message above.