【发布时间】:2011-12-01 07:05:36
【问题描述】:
我编写了一个在我的 windows server 2008 上运行的小型 c# 控制台(端口 587,启用 ssl,smtp.gmail.com)。它无法使用 Gmail 发送电子邮件。结果是“发送电子邮件失败”。但它可以在另一个 windows server 2008 和我的笔记本电脑上运行。那么我的服务器上缺少什么配置?
我刚刚检查过:
telnet smtp.gmail.com 587
Connecting To smtp.gmail.com...Could not open connection to the host, on port 587: Connect failed
如何配置以在我的服务器上传递它?
【问题讨论】:
-
请显示您用于发送电子邮件的代码。
标签: gmail