SMTP host status in ASP.NET
开发者_如何学运维Is there a way to check smtp host status in ASP.NET.
Why do you need that?
As far as I remember if you try to send an email and the SMTP is in no condition of accomplish it, ASP.NET will throw an Exception telling you that. If you don't get an Exception then it means that SMTP is OK.
精彩评论