Symfony3.4: Exception occurred while flushing email queue: Expected response code 220 but got an empty response

859 Views Asked by At

Project in symfony 3.4 framework, all functions are ready, but an exception to get errors in the process is not working because swiftmailer is not working

<parameters.yml> mailer_transport: smtp mailer_host: <<--IP--> mailer_user: [email protected] mailer_password: NULL mailer_port: 25


Name | Transport | Spool | Delivery | Single Address


default (default mailer) | smtp | YES | YES | [email protected]


ERROR [app] Exception occurred while flushing email queue: Expected response code 220 but got an empty response.

1

There are 1 best solutions below

0
Ivan Alonzo On BEST ANSWER

I found a solution: I gave access to my IP in the whitelist. Being port 25 SMTP, comment on the TLS encryption because it is not used.

Note that it was for local use at the development level.

I already altered for safe values in production, Thank you.