Download the PHP package jacquesndl/mailer-bundle without Composer
On this page you can find all versions of the php package jacquesndl/mailer-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jacquesndl/mailer-bundle
More information about jacquesndl/mailer-bundle
Files in jacquesndl/mailer-bundle
Package mailer-bundle
Short Description Jacquesndl/MailerBundle
License MIT
Homepage https://github.com/jacquesndl/MailerBundle
Informations about the package mailer-bundle
MailerBundle
MailerBundle add a new TemplatedEmail class for the Symfony Mailer Component.
Install
Setup
The bundle provides an official recipe to help you configure the bundle.
The env variables JACQUESNDL_MAILER_SENDER_NAME and JACQUESNDL_MAILER_SENDER_ADDRESS define the default value for the sender. You can overwrite it using the to() method of the TemplatedEmail class. You can see an example below.
Usage
Basic
If the block text is missing or empty, mailer will generate it automatically by converting the HTML contents into text. If you have league/html-to-markdown installed in your application, it uses that to turn HTML into Markdown (so the text email has some visual appeal). Otherwise, it applies the strip_tags PHP function to the original HTML contents.
Advanced
The bundle provides a maker command to create an Email class that extends TemplatedEmail
All versions of mailer-bundle with dependencies
symfony/framework-bundle Version ^4.4|^5.0
symfony/mailer Version ^4.4|^5.0
symfony/twig-bundle Version ^4.4|^5.0
twig/twig Version ^2.0
symfony/maker-bundle Version ^1.15