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!

Sending emails using CDOSYS

Status
Not open for further replies.

Papa Bear

Programmer
Feb 1, 2003
37
GB
Hi All
One of my pages sends invoices and letters by email using CDOSYS. Most are sent successfully, but occasionally the page hangs. I have narrowed the reason down to two causes. either the email address is not liked, normally a Hotmail address, or I have sent too many in a specific time period.

My question is this. Can I trap this error in code so I can report back to the user with a "Customer No nnnn email not sent" message? I am using classic ASP

If I rewrote the page in ASP.NET, could I trap the error?

Thanks
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top