accord / postmark-swiftmailer-bundle
A Symfony2 bundle that provides a Postmark transport implementation for SwiftMailer
Installs: 1 039
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=5.3.3
- openbuildings/postmark: >=0.3.1
- swiftmailer/swiftmailer: >=5.2.1,<6.0.0
- symfony/framework-bundle: >=2.3
This package is auto-updated.
Last update: 2023-01-15 19:28:49 UTC
README
A Symfony2 bundle that provides a Postmark transport implementation for SwiftMailer
Installation
Add bundle to composer.json
"require": {
"php": ">=5.3.2",
"symfony/symfony": "~2.1",
"_comment": "your other packages",
"accord/postmark-swiftmailer-bundle": "dev-master",
}
Add AccordPostmarkSwiftMailerBundle to application kernel
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Accord\PostmarkSwiftMailerBundle\AccordPostmarkSwiftMailerBundle(),
// ...
);
}
Add your API key to app/config/config.yml
accord_postmark_swift_mailer:
api_key: POSTMARK_API_KEY
use_ssl: true # Optional, true by default
Configure Swiftmailer to use this new transport in app/config/config.yml
swiftmailer:
transport: accord_postmark