The Mailer component is a manager to render and send an mail template with different transporter (email, sms, etc...).
Features include:
- Available transporters:
- Email with Symfony Mailer
- SMS with Klipper SMS Sender
- Twig loaders to retrieve automatically the localized templates with a fallback behavior:
- Filesystem
- Doctrine (optional)
- Secure the rendering for the message templates of users by activating simply the Twig Sandbox (only available tags, functions, etc. can be used, and templates loaded only from Doctrine)
- Disable automatically the Twig option
strict variables
for the messages rendering - Build your custom transporters and messages with Symfony Mime
- Creation of template layout using the
embed
Twig tag in template message - Direct use of transporters keeping the functionality of this component
- Template Message repository is compatible with the Doctrine Extensions Translatable