How to catch an exception thrown by a SMTP server using ASP .NET?
by packer.lean
. Updated 19 years ago
How do I catch an exception thrown by SMTP server(IIS)? The mail may go successfully to the SMTP server but the server itself maynot send it because of some reason and throw an exception. How do I catch that using ASP .NET