I need 2 kind of mails:
- Spool mail (for bulk mails)
- Direct mail (like a register mail)
Now I have 2 services:
<service id="spool_mailer" class="%swiftmailer.class%">
<argument type="service" id="swiftmailer.transport"/>
</service>
<service id="mailer" class="%swiftmailer.class%">
<argument type="service" id="swiftmailer.transport.real"/>
</service>
But the "swiftmailer.transport.real" will ignore the "swiftmailer.delivery_address" and in the dev env its required. I have tried other transports but they will spool the mail: Configure SwiftMailer
How to fix this?