Godaddy邮箱C#发送邮件设置

Godaddy邮箱C#发送邮件设置

SMTP服务器名称:smtpout.secureserver.net

SMTP服务器端口:3535/80

帐户名:xxx@xxxxx.com
密码:xxxxxx

范例如下

SmtpClient smtp = new SmtpClient();
smtp.DeliveryMethod = SmtpDeliveryMethod.Network; //电子邮件通过网络发送到 SMTP 服务器
smtp.Host = “smtpout.secureserver.net”;
smtp.Credentials = new System.Net.NetworkCredential("帐户名", "密码"); 
smtp.Port = 80;//端口

 

很多人的邮件发送不了,是因为Godaddy默认的smtp端口并不是25,而是80或3535。

如果你的邮件也发送不了,请检查端口的设置是否正确。

 

Godaddy邮箱设置outlook或foxmail邮件设置

POP3服务器:       pop.secureserver.net
SMTP服务器名称:smtpout.secureserver.net
帐户名:xxx@xxxxx.com
密码:xxxxxx
我的服务器要求身份验证,勾选上。

很多人的邮件发送不了,是因为Godaddy默认的smtp端口并不是25,而是80或3535。

如果你的邮件也发送不了,请检查端口的设置是否正确。

有关Godaddy邮件设置的详细文章,
请看这里:http://products.secureserver.net/email/email_outlookexpress.htm

原文地址:https://www.cnblogs.com/amwson/p/1436628.html