Closed ethought closed 6 years ago
@ethought I think you should use the SwiftmailerBundle for Symfony.
I need Postmark transport though.
The SwiftmailerBundle actually expects your service name to be prefixed with swiftmailer.mailer.transport
So your service config should look like this:
services:
swiftmailer.mailer.transport.postmark:
class: Openbuildings\Postmark\Swift_PostmarkTransport
arguments:
- POSTMARK_API_KEY
And in config.yml
:
swiftmailer:
transport: postmark
This issue is related to the Symfony integration only, not to the actual transport.
The service definition "swiftmailer.mailer.transport.swift_transport.postmark" does not exist.
Any ideas how to fix this?