这个 教程的步骤2和4 3 将帮助您实现这一目标。您的“智能主机”将是您的 ISP 的 SMTP 服务器 DNS 名称或 IP 地址。
Here's the important part of the error message:
Diagnostic-Code: smtp;550-5.7.1 [122.178.191.78] The IP you're using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead.
To solve this, you'll need to setup an SMTP relay to send to your ISP's email servers. They'll send to Google for you.
For clarity:
This is NOT an application/code/C# problem, but an IIS problem.
Google will NOT accept SMTP connections from random nodes on the internet. That means: YOUR Windows XP SMTP server will not have direct sending ability.
You MUST send to a known good whitelisted SMTP host.
Your best option is to configure IIS to act as a relay to a known good SMTP server.
Your best bet for a known good SMTP server is your ISP's. This is likely smtp.yourISP.com.
This tutorial's Steps 2 & 3 will help you achieve this. Your 'smart host' will be your ISP's SMTP server DNS name or IP address.
发布评论
评论(3)
这是错误消息的重要部分:
要解决此问题,您需要设置 SMTP 中继来发送到 ISP 的电子邮件服务器。他们会为您发送给 Google。
为清楚起见:
smtp.yourISP.com
。Here's the important part of the error message:
To solve this, you'll need to setup an SMTP relay to send to your ISP's email servers. They'll send to Google for you.
For clarity:
smtp.yourISP.com
.我认为如果你想从你的电脑通过 gmail 发送电子邮件,你应该使用 SSL 加密你的数据。你必须在这里选择:
I think that if you want to send emails through gmail from your PC, you should encrypt your data with SSL. You have to options here:
您可以使用以下两种方法之一解决此问题:
选项 1. 在“访问”选项卡下的连接中将“127.0.01”更改为“localhost”。
选项 2. 使用“127.0.01”而不是 localhost 更改用于连接的代码。
You can solve this using one of the following two ways
Option 1. Change '127.0.01' to 'localhost' in connection under Access tab.
Option 2. Change the code used to connect using '127.0.01' instead of localhost.