承接 famelo/messaging 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2012-12-10