appventus/spoolmailerbundle
最新稳定版本:2.0.1
Composer 安装命令:
composer require appventus/spoolmailerbundle
包简介
Database spool emails
README 文档
README
Allow you to store your mails as a spool and send transactionnal direct mails or store it in db
- Installation
This bundle is on Packagist here : https://packagist.org/packages/appventus/spoolmailerbundle
- Configuration :
Import this in your config.yml : - { resource: @AvSpoolMailerBundle/Resources/config/config.yml }
Always in config.yml, overwrite the sender mail config:
av_awesome_spool_mailer:
contact_addresses:
admin:
address: [yours]
name: [yours]
noreply:
address: [yours]
name: [yours]
...
Add your owns, each row inside contact addresses will automatically be accessible in the parameter bag following this scheme :
example :
contact_addresses_**KEY**_address
- Usage :
You can spool message in db with : $this->get('spool_mailer')->queueMessage($message);
You can send instant email in controller with : $this->get('instant_mailer')->send($message);
To send spooled messages, call : php app/console swiftmailer:spool:send
统计信息
- 总下载量: 15.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-02-07