famelo/messaging
最新稳定版本:v1.0.0
Composer 安装命令:
composer require famelo/messaging
包简介
Little helper to send Messages with SwiftMailer rendered through Fluid.
README 文档
README
Little helper to send Messages with SwiftMailer rendered through Fluid:
$mail = new \Famelo\Messaging\Message(); $mail->setFrom(array('mail@me.com' => 'Me :)')) ->setTo(array('mail@you.com')) ->setSubject('How are you?') ->setMessage('My.Package:HelloWorld') ->assign('someVariable', 'Hello World') ->send();
This will try to render a Template at resource://My.Package/Private/Messages/HelloWorld.html
Configuration Example
Famelo: Messaging: defaultFrom: mneuhaus@famelo.com: 'Marc Neuhaus' # Redirect all messages to this E-Mail # for testing purposes redirectAllMessagesTo: foo@bar.com TYPO3: SwiftMailer: transport: type: 'Swift_SmtpTransport' options: host: 'mail.foo.com' username: 'foo' password: 'bar'
统计信息
- 总下载量: 632
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2012-12-10