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.
我有一个使用远程 SMTP 服务的 MVC 项目,该服务可以在服务器上正常发送邮件,但是当我在本地计算机上加载项目并运行它时,它不会发送邮件。可能是什么问题呢???我需要在本地开发机器上启用 SMTP 吗?
出于某种原因,使用远程 smtp 服务器的 MVC 设置确实有效。
通过使用谷歌的 smtp 服务器而不是端口 587,我能够让它在本地工作。
感谢您的回复。