smtp中继 - gmail - swiftmailer:预期响应码220,但得到了代码“"" [英] smtp relay - gmail - swiftmailer: Expected response code 220 but got code ""
问题描述
但是我得到了
我的swiftmailer类是一个smtp服务器。
预期的响应代码220,但得到代码,在\classes\Swift\Transport\AbstractSmtpTransport.php中显示消息。
这是什么意思?
我认为这可能意味着您发送了一个空白行到smtp服务器。
确保您的命令中没有任何命令行。
您可以记录事务并粘贴日志的副本?
在这里查看有关记录
http://swiftmailer.org/docs/logger-plugin
I am using gmail as an smtp server for my swiftmailer class.
however I am getting
Expected response code 220 but got code "", with message "" in "\classes\Swift\Transport\AbstractSmtpTransport.php"
What does this mean?
I think it probably means you sent a blank line to the smtp server.
Make sure none of your commands have line feeds in them.
Can you log the transaction and paste a copy of the log?
see here for details about logging http://swiftmailer.org/docs/logger-plugin
这篇关于smtp中继 - gmail - swiftmailer:预期响应码220,但得到了代码“""的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!