0
我编写了一个在我的Windows Server 2008(端口587,启用ssl,smtp.gmail.com)上运行的小型c#控制台。它无法使用Gmail发送电子邮件。结果是“发送电子邮件失败”。但它可以运行在另一个Windows Server 2008和我的笔记本电脑上。那么,我的服务器上缺少配置?在Windows服务器上使用Gmail发送电子邮件2008
我刚才检查:
telnet smtp.gmail.com 587
Connecting To smtp.gmail.com...Could not open connection to the host, on port 587: Connect failed
我如何配置通过这个我的服务器上?
请显示您用来发送电子邮件的代码。 –