Hello guys i am a complete novice to having my own web and i have run into a problem with even an 'idiot proof' flash web builder software. ( I tried their own helpline for assistance but got nowhere)
Basicly i have this flashwebsite i am building....one of the options is a page where a contact window appears where a visitor can add his name, email address, and comments with a submit button, reset button and close button. when i uploaded the site to my webhost i noticed that the file for the page was named contact.asp the file
is here:
<%
contactfield1=Request("field1")
contactfield2=Request("field2")
contactfield3=Request("field3")
contactfield4=Request("field4")
mbody = "field1 : "&contactfield1&" | field2 : "&contactfield2&" | field3 : "&contactfield3&" | field4 : "&contactfield4
'email object for cdonts
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Set pmail = Server.CreateObject("CDONTS.Newmail")
'change the email to your email address
'pmail.From = "you@yourdomain.com"
'pmail.To = "info@yourdomain.com"
'pmail.Subject = " Website Contact enquiry "
'pmail.Body = mbody
'pmail.MailFormat = 0 'mime type
'pmail.BodyFormat = 0 'default value 1 for plain text type
'pmail.Send
'Set pmail=Nothing
'new mail
'DIM Mailer
'email object for CDO Windows 2003
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Website Contact Enquiry"
'change the email to your email address
objMessage.Sender = "you@yourdomain.com"
objMessage.To = "info@yourdomain.com"
objMessage.TextBody = mbody
objMessage.Send
set objMessage=Nothing
response.write("response=ok")
%>
Now i am taking it to be that i need to change these email addresses in the above file to my own webserver email address.....But what else must i do to get this form to work?............I am at a complete loss here.😕 Thanks for any help offered. Dastardley