最佳答案
我创建了使用 SMTP 发送消息的新 ASP.NET Web 应用程序。问题是没有从发送消息的用户身份验证 smtp。
如何在程序中验证 SMTP?C # 是否有一个具有输入用户名和密码属性的类?