Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem getting email after clicking "Submit"

Status
Not open for further replies.
Joined
Jun 4, 2004
Messages
159
Location
US
I have created a form in Dreamweaver. I also created the asp page that I need. After I fill out the form, I click "submit" and the email should be getting sent to me. I tested it and everything looked as it should. However, I have not yet received the email. What could be going wrong? Here is my code:

<% @language="VBSCRIPT" %>
<%
Dim myMail, myBody
myBody ="Name: "& request.form("name") & vbcrlf & "E-Mail: " & request.form("email") & vbcrlf & "Message: "& vbcrlf & request.form ("info")
Set myMail = Server.CreateObject ("CDONTS.NewMail")
myMail.From = request.form("email")
myMail.To = "kkemp@clearlumber.com"
myMail.Subject = "Customer Contact"
myMail.Body = myBody
myMail.Send
set myMail=nothing

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

I appreciate any suggestions!!

K. Kemp

 
Q1:is your SMTP service running? (workstation is limited to 10 smtp connections at the time)

Q2:is it legit? (no relay, true reged domain etc.)

Q3:in hand with Q2 -> is your recipient under some spam controll?

All the best!

:--------------------------------------:
fugitive.gif

[URL unfurl="true"]http://mostarnet.com[/url]

All around in my home town,
They tryin' to track me down...
 
lebisol...
In regards to your questions: Q1: The SMTP service is running. However, how do I check howmany connections I have running?

Q2: It is a true domain

Q3: I should be able to get the email. I am trying to send it to myself.

Thanks for the response.

K. Kemp

 
hi chuckann3041,
1st look for alternative to CDONTS just to make sure it is not the component or the asp code invovled....such as

now on to the SMTP issues:._____________

depends on your email mgt system if any.....

if this is only IIS box with SMTP service then start your Progs-->Admin Tools-->Internet Service Manager
and you will see your Default SMTP virutal server with current sessions.
Win2000pro/xp is limited to 10 concurrnet SMTP connections while win2x server is not.
you can always test your SMTP by
start-->run: telnet hostname_or_IP 25
for more troubleshooting check out:

All the best!

:--------------------------------------:
fugitive.gif

[URL unfurl="true"]http://mostarnet.com[/url]

All around in my home town,
They tryin' to track me down...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top