asp forum problem.

asp forum problem.

Post by alan.murra » Wed, 08 Sep 2004 06:06:04


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 = " XXXX@XXXXX.COM "
myMail.Subject = "exchange links"
myMail.Body = myBody
myMail.Send
set myMail=nothing

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




Can anyone see the problem? I am not getting an error message but the
e-mail does not arrive. I have tried more than one e-mail address.
 
 
 

asp forum problem.

Post by Jason Brow » Wed, 08 Sep 2004 14:06:19

could be an SMTP configuration issue. hard to say from here. check in the
folders under mailroot and see where the mesages end up. Oh, and check if
the SMTP service is actually running and can get past your firewall (if you
have one)


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided AS IS with no warranties, and confers no rights.

 
 
 

asp forum problem.

Post by alan.murra » Thu, 09 Sep 2004 05:03:37


I have tried other e-mail address and I have another form that works
on the same site.
 
 
 

asp forum problem.

Post by Jason Brow » Thu, 09 Sep 2004 11:14:27

but did you check the folders I suggested?


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided AS IS with no warranties, and confers no rights.




the
if
you
rights.