Closed ThomasLandauer closed 5 years ago
Just noticing that this is already possible for the url
configuration parameter: https://symfony.com/doc/current/reference/configuration/swiftmailer.html#url
So is what I'm asking for already implemented in the code and just needs to be documented at https://symfony.com/doc/current/email.html#configuration and in .env.dist
?
This is a follow up of https://github.com/symfony/symfony/issues/30316
I'm suggesting to change the syntax of
MAILER_URL
forsmtp://
in.env
fromto
Arguments:
The syntax
username:password@host
has been around for some time and is even mentioned in the RFC (albeit partly deprecated): https://tools.ietf.org/html/rfc3986#section-3.2.1Doctrine uses it too: https://symfony.com/doc/current/doctrine.html#configuring-the-database
It's already in use for
gmail://
: https://symfony.com/doc/current/email.html#using-gmail-to-send-emails