【问题标题】:Hard Error: SMTP -> FROM SERVER:421 Unexpected failure, please try later [closed]硬错误:SMTP -> FROM SERVER:421 意外失败,请稍后再试 [关闭]
【发布时间】:2016-10-14 10:55:57
【问题描述】:

我看了很多解决方案页面,但我无法解决这个问题。我不明白为什么会这样,因为我昨天使用它时一切都很完美。请帮助我:(

注意:我只是网页管理员,不是服务器管理员

!!!!你可以在这里查看我的代码并下载 --> http://s2.dosya.tc/server/6vnkfc/codes.rar.html

我的日志:

SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "220-nserver75.emikrondns.com ESMTP Exim 4.87 #1 Tue, 14 Jun 2016 00:22:22 +0300 " 
SMTP -> get_lines(): $data is "220-nserver75.emikrondns.com ESMTP Exim 4.87 #1 Tue, 14 Jun 2016 00:22:22 +0300 " 
SMTP -> get_lines(): $data was "220-nserver75.emikrondns.com ESMTP Exim 4.87 #1 Tue, 14 Jun 2016 00:22:22 +0300 " 
SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, " 
SMTP -> get_lines(): $data is "220-nserver75.emikrondns.com ESMTP Exim 4.87 #1 Tue, 14 Jun 2016 00:22:22 +0300 220-We do not authorize the use of this system to transport unsolicited, " 
SMTP -> get_lines(): $data was "220-nserver75.emikrondns.com ESMTP Exim 4.87 #1 Tue, 14 Jun 2016 00:22:22 +0300 220-We do not authorize the use of this system to transport unsolicited, " 
SMTP -> get_lines(): $str is "220 and/or bulk e-mail. " 
SMTP -> get_lines(): $data is "220-nserver75.emikrondns.com ESMTP Exim 4.87 #1 Tue, 14 Jun 2016 00:22:22 +0300 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. " 
SMTP -> FROM SERVER:220-nserver75.emikrondns.com ESMTP Exim 4.87 #1 Tue, 14 Jun 2016 00:22:22 +0300 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] " 
SMTP -> get_lines(): $data is "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] " 
SMTP -> get_lines(): $data was "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] " 
SMTP -> get_lines(): $str is "250-SIZE 52428800 " 
SMTP -> get_lines(): $data is "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 " 
SMTP -> get_lines(): $data was "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 " 
SMTP -> get_lines(): $str is "250-8BITMIME " 
SMTP -> get_lines(): $data is "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 250-8BITMIME " 
SMTP -> get_lines(): $data was "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 250-8BITMIME " 
SMTP -> get_lines(): $str is "250-PIPELINING " 
SMTP -> get_lines(): $data is "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING " 
SMTP -> get_lines(): $data was "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING " 
SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $data is "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $data was "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $str is "250 HELP " 
SMTP -> get_lines(): $data is "250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250 HELP " 
SMTP -> FROM SERVER: 250-nserver75.emikrondns.com Hello gorselsozluk.com [37.247.96.230] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250 HELP 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " 
SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 " 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " 
SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 " 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "235 Authentication succeeded " 
SMTP -> get_lines(): $data is "235 Authentication succeeded " 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250 OK " 
SMTP -> get_lines(): $data is "250 OK " 
SMTP -> FROM SERVER:250 OK 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250 Accepted " 
SMTP -> get_lines(): $data is "250 Accepted " 
SMTP -> FROM SERVER:250 Accepted 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "354 Enter message, ending with "." on a line by itself " 
SMTP -> get_lines(): $data is "354 Enter message, ending with "." on a line by itself " 
SMTP -> FROM SERVER:354 Enter message, ending with "." on a line by itself 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "421 Unexpected failure, please try later " 
SMTP -> get_lines(): $data is "421 Unexpected failure, please try later " 
SMTP -> FROM SERVER:421 Unexpected failure, please try later 
SMTP -> ERROR: DATA not accepted from server: 421 Unexpected failure, please try later 
SMTP Error: Data not accepted.

【问题讨论】:

  • 您认为与我们分享您的代码吗?因为错误输出对你没有帮助
  • Ivan 是对的——但一个疯狂的猜测是你没有遵守 SMTP 命令的顺序约束——也就是说,哪些命令可以在什么时候出现。也就是说,除非您这样做是出于教育目的,否则请去找一个支持良好的库来为您做这件事。 SMTP 在所有情况下都是一项要求很高的事情,并且存在大量损坏的实现,这意味着您将需要在代码中解决这些实现,而不要成为其他所有人都可以解决的另一个。
  • @IvanBarayev 你可以在这里查看我的代码并下载 -> s2.dosya.tc/server/6vnkfc/codes.rar.html

标签: php ssl smtp phpmailer


【解决方案1】:

421 意外失败,请稍后再试

这是服务器端的临时问题,就像它说您应该稍后再试一样。此类错误的原因可能是邮件服务器上的磁盘已满,或者您允许在特定时间或类似时间内发送多少邮件。

如果问题仍然存在,您需要联系邮件服务器的提供商并要求解释或解决问题。

【讨论】:

    猜你喜欢
    • 2020-12-02
    • 2013-01-09
    • 2021-01-29
    • 1970-01-01
    • 2018-01-27
    • 2018-01-22
    • 2018-10-21
    • 2019-11-30
    • 2022-06-22
    相关资源
    最近更新 更多