lum/lum-mailer

v3.0.0 2025-01-28 22:52 UTC

This package is auto-updated.

Last update: 2025-01-28 22:53:25 UTC


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 to Symfony but for now it's sticking with the templates as used by version 2.x and earlier.
  • If templates is Symfony but transport is NOT Symfony, 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

License

MIT