asp form problem

Reply

Join Date: Jun 2004
Posts: 10
Reputation: AlanM is an unknown quantity at this point 
Solved Threads: 0
AlanM AlanM is offline Offline
Newbie Poster

asp form problem

 
0
  #1
Sep 1st, 2004
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?
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 167
Reputation: Drew is an unknown quantity at this point 
Solved Threads: 7
Drew's Avatar
Drew Drew is offline Offline
Junior Poster

Re: asp form problem

 
0
  #2
Sep 2nd, 2004
Whats it doing that is "not working"? Need some more info on how its not working.
Drew Gauderman
ASP / MSSQL Coder
http://www.iportalx.net - My ASP Portal
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 10
Reputation: AlanM is an unknown quantity at this point 
Solved Threads: 0
AlanM AlanM is offline Offline
Newbie Poster

Re: asp form problem

 
0
  #3
Sep 2nd, 2004
It does not bring an error message it just does not send the E-mail.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 167
Reputation: Drew is an unknown quantity at this point 
Solved Threads: 7
Drew's Avatar
Drew Drew is offline Offline
Junior Poster

Re: asp form problem

 
0
  #4
Sep 2nd, 2004
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.
Drew Gauderman
ASP / MSSQL Coder
http://www.iportalx.net - My ASP Portal
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 10
Reputation: AlanM is an unknown quantity at this point 
Solved Threads: 0
AlanM AlanM is offline Offline
Newbie Poster

Re: asp form problem

 
0
  #5
Sep 3rd, 2004
No it is working. I have another forum on thet same site that is working.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC