您好,我使用phpmailer,以便从我的网站收到信息联系表格。电子邮件是必需的字段。我收到所有的信息,甚至来自假的电子邮件地址,除了gmail。当用户在电子邮件字段中插入gmail地址时,联系人表单响应发送的消息,但用户在垃圾邮件gmail文件夹中收到以下错误:
The original message was received at Tue, 24 Sep 2013 12:08:21 -0700
from localhost [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<info@mywebsitename.com>
(reason: 553 sorry, your mail was administratively denied. (#5.7.1))
----- Transcript of session follows -----
... while talking to relay-hosting.secureserver.net.:
MAIL From:<usernamemail@gmail.com> SIZE=1543 BODY=8BITMIME
<<< 553 sorry, your mail was administratively denied. (#5.7.1)
501 5.6.0 Data format error
Reporting-MTA: dns; xxxxxxx.xxx.xxxx.xxxx.secureserver.net
Received-From-MTA: DNS; localhost
Arrival-Date: Tue, 24 Sep 2013 12:08:21 -0700
Final-Recipient: RFC822; info@mywebsitename.com
Action: failed
Status: 5.1.3
Diagnostic-Code: SMTP; 553 sorry, your mail was administratively denied. (#5.7.1)
Last-Attempt-Date: Tue, 24 Sep 2013 12:08:22 -0700我的服务器拒绝发送来自gmail用户的电子邮件。但是为什么呢?
谢谢
发布于 2013-09-25 03:22:37
好的,我正在回答我的问题。
是的,我的服务器(godaddy)阻塞了gmail地址。
这似乎也阻碍了雅虎,美国在线,live和其他一批没有“拥有”注册域名,因为垃圾邮件(如他们所说)。
我把标题改了一点。
$mail->SetFrom = 'info@myregistereddomain.com'
$mail->AddReplyTo( $email , $name );
$mail->AddAddress( $toemail , $toname );现在起作用了
https://stackoverflow.com/questions/18992769
复制相似问题