I have 2 smtp-servers. How can I switch between them? My service should decide via wich smtp-server to send a mail.
In my swiftmailer.yaml, I have only the following configuration.
swiftmailer:
url: '%env(MAILER_URL)%'
spool: { type: 'memory' }
Can I set the login and password to the smtp-server on the fly in my service? I need a quick solution, if it's possible.
Thank you