Symfony 4 .env configuration
Symfony 4 configuration example would also be nice.
.env example:
> symfony/swiftmailer-bundle
For Gmail as a transport, use: "gmail://username:password@localhost"
For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
Delivery is disabled by default via "null://localhost"
MAILERURL=smtp://81d3957be84923:9e35845b8b3b2f@smtp.mailtrap.io:2525?encryption=tls&authmode=login
< symfony/swiftmailer-bundle
4
votes
Administrator
shared this idea
Hi, thanks for your request! We’ll add this example.