【问题标题】:PHPMailer from Google users blocked by my Server?我的服务器阻止了来自 Google 用户的 PHPMailer?
【发布时间】:2013-09-24 21:55:56
【问题描述】:

嗨,我正在使用 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 用户的电子邮件。但为什么呢?

谢谢

【问题讨论】:

    标签: gmail phpmailer


    【解决方案1】:

    好的,我正在回答我的问题。

    是的,我的服务器 (godaddy) 阻止了 gmail 地址。

    由于垃圾邮件(正如他们所说),它似乎也阻止了 yahoo、aol、live、hotmail 和其他一批不是“拥有”注册域的人。

    我稍微改变了标题。

    $mail->SetFrom = 'info@myregistereddomain.com'
    $mail->AddReplyTo( $email , $name );
    $mail->AddAddress( $toemail , $toname );
    

    现在开始工作了

    【讨论】:

      猜你喜欢
      • 2014-03-22
      • 2021-10-09
      • 2021-05-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-21
      相关资源
      最近更新 更多