June 10th, 2011, 01:23 AM
ASP Email Not working
Hi - I have develped a web site. When the user registers a confirmation mail will be sent to the users mail id. Initially it was working well. Since 3 days this is not working. I did not make any chages. The mail id entered is also correct.
myMail.Subject="Sending email with CDO"
myMail.TextBody="Thanks for registering"
Can any one assist me in this please
June 10th, 2011, 04:08 AM
Add some code to test if the send method completed without error. I don't use CDO but you should be able to find something with google.
Also read the from mailbox with a mail client check for any bounce messages. And check your mail logs they should help you identify problems.
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton
June 10th, 2011, 02:07 PM
It's also possible to surround that code with exception handling to trap errors and see what error is occuring (if one is).
just google "exception handling classic asp" and you'll see different approaches to that.