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@exemple.com mailer_password: NULL mailer_port: 25
Name | Transport | Spool | Delivery | Single Address
default (default mailer) | smtp | YES | YES | email@exemple.com
ERROR [app] Exception occurred while flushing email queue: Expected response code 220 but got an empty response.
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.