The following options can be set via environment variables using the %env()% syntax: url, transport, username, password, host, port, timeout, source_ip, local_domain, encryption, auth_mode
Example
Just set
parameters.mailer_encryption: '%env(MAILER_ENCRYPTION)%'
and
swiftmailer.encryption: "%mailer_encryption%"
Same for auth_mode
Observed behaviour
I this issue:
Incompatible use of dynamic environment variables "MAILER_ENCRYPTION" found in parameters.
Same forauth_mode
Expected behaviour
Nothing (According to the doc)
Example
Just set
parameters.mailer_encryption: '%env(MAILER_ENCRYPTION)%'
andswiftmailer.encryption: "%mailer_encryption%"
Same forauth_mode
(I don't know if the problem is in the doc or in SwiftMailer) Thank you for this bundle 🥇 (issue originally posted at https://github.com/swiftmailer/swiftmailer/issues/1054)