开发者

Swift Mailer vague response code

开发者 https://www.devze.com 2022-12-17 07:11 出处:网络
Have you encountered this error? \"Ex开发者_如何转开发pected response code(s) [250] but got response []\"

Have you encountered this error?

"Ex开发者_如何转开发pected response code(s) [250] but got response []"

There's no response code at all.

I just followed the basic usage of the module. Something like this:

$email = new Email("Subject");
$email->to('recipient@mail.com');
$email->message('Message');
$email->send('no-reply@site.com');

Not sure on the SMTP configuration though. Any solution? Thanks.


The 250 code represents an acknowledgement of the last client request. If the server is not responding then either the swiftMailer class is very bugy (improbable) or there's something very weird in the server its connecting to.

Have you tried connecting to the same server using a conventional MUA?

C.


I am getting the same issue however slightly different syntax, but still comes to the same thing

Expected response code 250 but got code "", with message ""

Its only started happening since I have pointed my scripts at a different mailserver. The strange thing is, the mails actually seem to be getting through. Will post back with my findings

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号