accord/postmark-swiftmailer-bundle
Composer 安装命令:
composer require accord/postmark-swiftmailer-bundle
包简介
A Symfony2 bundle that provides a Postmark transport implementation for SwiftMailer
README 文档
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
统计信息
- 总下载量: 1.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-03-06