EHLO - Sendmail SMTP后交易失败

时间:2011-07-13 22:21:52

标签: php smtp sendmail

你知道为什么我在这次谈判中得到Transaction failed

CONNECTING TO mail.example.com
SUCCESS
220 ESMTP Sendmail 8.11.6/8.11.6; Thu, 14 Jul 2011 00:12:44 +0200
EHLO mail.example.com
554 Transaction failed.

Sendmail有问题,或者基于IP地址有什么保护吗?

服务器在EHLO命令之后立即断开连接。

1 个答案:

答案 0 :(得分:0)

问题在于线路结束不当

是:EHLO mail.example.com\n

应该是:EHLO mail.example.com\r\n

相关问题