You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 6, 2022. It is now read-only.
When a mailer option like disable_delivery is set for an environment, it is only applied to the default mailer. For example, my config_test.yml contains
swiftmailer:
disable_delivery: true
However, in my opinion delivery should be disabled for all mailers when running in the test environment.
php app/console debug:swiftmailer --env=test
[swiftmailer] Current mailers
Name Transport Spool Delivery Single Address
mailer2 smtp NO YES
default (default mailer) smtp YES NO
The delivery_address option also behaves like that, it seems to be set only for the default mailer. In the manual no such behaviour is documented.
What is the recommended way to ensure that all mailers get the same disable_delivery and delivery_address options depending on the environment?