lum / lum-mailer
Lum Mailer
Requires
- lum/lum-compat: ^2.0
- lum/lum-core: ^3.0
- symfony/mailer: ^7.2
- symfony/twig-bridge: ^7.2
README
Summary
A Mailer library that by default wraps Symfony Mailer and adds some functionality that is mostly specific to the Lum App Framework.
This is meant as a modular component of the Lum Framework to provide a standardized API for any kind of action that requires email messaging.
For a lot of more generic email uses, you can simply use Symfony Mailer directly rather than using this wrapper library.
v3 Notes
This version is NOT backwards compatible with any prior versions. It has changed the classnames, namespaces, and defaults.
It has dropped the old SendGrid
transport plugin.
If you need to use SendGrid, you should install symfony/sendgrid-mailer
and then set the dsn
option to sendgrid://APIKEY@default
.
Many option names have changed as well, read the docs for details.
Classes
Plugin notes
- If no
transport
option is specified,Symfony
will be used. This is currently the only transport included by default. Custom transports may be created and specified for special use cases. - If no
templates
option is specified,ViewLoader
will be used. In the future the default MAY change toSymfony
but for now it's sticking with the templates as used by version 2.x and earlier. - If
templates
isSymfony
buttransport
is NOTSymfony
, an Exception will be thrown. The Symfony template engine MUST only be used in conjunction with the Symfony transport!
Official URLs
This library can be found in two places:
Author
Timothy Totten