symfony / swiftmailer-bundle

Symfony Swiftmailer Bundle
https://symfony.com/swiftmailer-bundle
MIT License
1.56k stars 151 forks source link

Fix encryption option when using env variable #177

Closed mykiwi closed 7 years ago

mykiwi commented 7 years ago

Related to #170

fabpot commented 7 years ago

Thank you @mykiwi.

mauricios commented 5 years ago

How to disable encryption using environment variable?.

Environment variables are not nullable (they are strings by design), there is no way to disable or override encryption using environment variables. I want to keep my default value as ssl for Production, but I want to disable for a development where I use a local SMTP that does not support encryption.