0

I can not get my form to work. here is the code

<% @language="VBSCRIPT" %>

<%
Dim myMail, myBody
myBody ="website title: "& request.form("websitetitle") & vbcrlf & "websiteyurl: " & request.form("websiteurl") & vbcrlf & "websitedesciption: "& vbcrlf & request.form ("websitedes") & vbcrlf & "link: " & request.form("link") & vbcrlf & "e-mail: " & request.form("e-mail")
Set myMail = Server.CreateObject ("CDONTS.NewMail")
myMail.From = request.form("email")
myMail.To = "webmaster@designprofessional.co.uk"
myMail.Subject = "exchange links"
myMail.Body = myBody
myMail.Send
set myMail=nothing

Response.Redirect("thanks.htm")
%>


Can anyone see the problem?

2
Contributors
4
Replies
5
Views
13 Years
Discussion Span
Last Post by AlanM
0

Whats it doing that is "not working"? Need some more info on how its not working.

0

It does not bring an error message it just does not send the E-mail.

0

If you dont get any kind of errors then the script is fine. Its probably your mail server that is not working. Make sure the emails are getting to it and sent out. Or try using a different email server.

0

No it is working. I have another forum on thet same site that is working.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.