famelo / messaging
There is no license information available for the latest version (v1.0.0) of this package.
Little helper to send Messages with SwiftMailer rendered through Fluid.
Package info
github.com/mneuhaus/Famelo.Messaging
Type:typo3-flow-package
pkg:composer/famelo/messaging
v1.0.0
2014-09-30 13:25 UTC
Requires
This package is auto-updated.
Last update: 2026-03-05 21:50:40 UTC
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'