开发者

SMTP host status in ASP.NET

开发者 https://www.devze.com 2023-01-25 21:53 出处:网络
开发者_如何学运维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 w

开发者_如何学运维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.

0

精彩评论

暂无评论...
验证码 换一张
取 消