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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with CDONTS

Status
Not open for further replies.

uconn1981

Programmer
Mar 21, 2005
42
US
Just before yesterday, my ASP sending email with CDONTS on NT server was working great. Then it did not work. However, there is no error. I did not receive any emails. Is the sending delayed or is there a problem with CDONTS?

Thanks,

Tim
 
Have you have any server upgrades or script changes?

How long ago did you send the email? It's more than likely an issue with the mail server rather than CDONTS, like you say it might be queued, or the destination email box might have an issue, try sending it to a different email box.

BDC.
 
We tested last Friday, everything was fine. I tried to send to different email addresses, it did not work either. As you suggested, how can we check if the mail server is OK on the NT server?

Thanks,

Tim
 
If you're not getting an error from your script you need to add some error handling to make sure that CDONTS is in fact working properly.

on error resume next
objMail.Send
if err.number <> 0 then
response.write(err.number&":"&err.description)
else
response.write("mail sent")
end if
on error goto 0
response.end()

BDC.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top