smtp relay - gmail - swiftmailer: Expected response code 220 but got code ""

12,383

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

Share:
12,383
Hailwood
Author by

Hailwood

I could tell you all about me... but I'd prefer to let my work do the talking for me!

Updated on June 04, 2022

Comments

  • Hailwood
    Hailwood almost 2 years

    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?