symfony/symfony — Issue #2460: [SwiftmailerBundle] Add ability to use custom transport
Author: simonvdd
Created: 2011-10-24 15:31:02+00:00
State: open

Currently SwiftmailerBundle only supports pre-defined transport (SMTP, Sendmail, Mail, etc.) If I want to use my own Transport class (let's say, to send e-mails via Amazon SES), I need to override swiftmailer.transport service by re-defining it in a custom Bundle that I load after SwiftmailerBundle.
It would be great if we could parameter SwiftmailerBundle to use a custom transport class directly. According to @stof it should not be too hard to implement.

Thanks a lot !