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.
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi
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.