A Symfony2 bundle that provides a Postmark transport implementation for SwiftMailer
"require": {
"php": ">=5.3.2",
"symfony/symfony": "~2.1",
"_comment": "your other packages",
"accord/postmark-swiftmailer-bundle": "dev-master",
}
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Accord\PostmarkSwiftMailerBundle\AccordPostmarkSwiftMailerBundle(),
// ...
);
}
accord_postmark_swift_mailer:
api_key: POSTMARK_API_KEY
use_ssl: true # Optional, true by default
swiftmailer:
transport: accord_postmark