hi there,
I would appreciate someones help.
I have created a form in flash where it's collectiing variables and sending the reuslts to my email. Thi is done by using an asp script which sends mail.
The mail client on the server is aspmail3 and everytime i click on submit it throws an error "503 No valid recipients specified". I have made sure that there are valid recipients. I've tried creating variables containing my email and that hasn't worked. If I use an html form to do this then that works, but it does not work using a flash form. It collects the variables from flash but doesn't send them to my email... WHY???
My asp code is as follows:
<%
dim name
dim emailAdd
dim subject
dim message
dim rec
dim myname
fname = Request("name"
emailAdd = Request("email"
subject = Request("subject"
message = Request("message"
rec = Request("myemail"
myname= "nabi"
Set Mailer = Server.CreateObject("SMTPsvg.Mailer"
Mailer.FromName = name
Mailer.FromAddress= emailAdd
Mailer.RemoteHost = "mail.boxdev.co.uk"
Mailer.AddRecipient myname, rec
Mailer.Subject = subject
Mailer.BodyText = message
if Mailer.Sendmail then
response.write ("Message sent" & " to " & fname)
else
response.write "Mail not sent, Error: "
response.write Mailer.response
end if
%>
I would appreciate someones help.
I have created a form in flash where it's collectiing variables and sending the reuslts to my email. Thi is done by using an asp script which sends mail.
The mail client on the server is aspmail3 and everytime i click on submit it throws an error "503 No valid recipients specified". I have made sure that there are valid recipients. I've tried creating variables containing my email and that hasn't worked. If I use an html form to do this then that works, but it does not work using a flash form. It collects the variables from flash but doesn't send them to my email... WHY???
My asp code is as follows:
<%
dim name
dim emailAdd
dim subject
dim message
dim rec
dim myname
fname = Request("name"
emailAdd = Request("email"
subject = Request("subject"
message = Request("message"
rec = Request("myemail"
myname= "nabi"
Set Mailer = Server.CreateObject("SMTPsvg.Mailer"
Mailer.FromName = name
Mailer.FromAddress= emailAdd
Mailer.RemoteHost = "mail.boxdev.co.uk"
Mailer.AddRecipient myname, rec
Mailer.Subject = subject
Mailer.BodyText = message
if Mailer.Sendmail then
response.write ("Message sent" & " to " & fname)
else
response.write "Mail not sent, Error: "
response.write Mailer.response
end if
%>