I started a project using symfony 4 and the mailer doesn\'t work, however it should be easy.
before you ask, if i copy past the login and password from my code i\'m able to
I think this is not an issue with the mailer, but with gmail. I copied your steps to try to connect through the smtp server of gmail, but got the same error. When using a different MAILER_URL (a different smtp-server) in the .env file, everything works like it should.