Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法通过回调函数在 MVC 视图上显示 SmtpClient.SendAsync() 方法结果(成功或失败)?
我会使用MVC Mailer。它允许创建带有剃刀视图的电子邮件,并且还具有异步选项。