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

CDOSYS email, detecting bounced email

Status
Not open for further replies.

stinkybee

Programmer
May 15, 2001
218
GB
I have set up an email script that sends email from my website using CDOSYS, however, I have been unable to find any information on how to detect whether emails are being delivered or not.

Is there a way to detect bounced emails?

Thanks in advance.
 
Thanks for the reply.

I'm not sure whether bounced email is the correct term but I basically want to be able to detect emails that have failed to be sent. I have a piece of mailing software running on my computer which gives me detailed reports of which emails where sent and which failed. I am after a way of replicating these reports within an asp page.

The reason I want this is because my ISP limits sending email to 50 an hour when using my emailing software. I can send more when sending directly from my webspace, however, I do not have a way of detecting whether an email has been successfully sent.

I perhaps should have said all this on my original post but anyway, is there a way to detect errors using a classic ASP script?
 
Check the error code that the CDOSYSobject.send() returns if it is a non-zero value the message failed for one reason or another.

HOWEVER this only indicates no errors raised by the messaging system on the local machine. It has now way of knowing if any errors were encountered on third party (relaying or receiving) SMTP servers.

Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top