Download the PHP package extellient/mail-bundle without Composer
On this page you can find all versions of the php package extellient/mail-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package mail-bundle
MailBundle
This is MailBundle is Symfony 3.4+ Bundle, for building your own html mail powered with Twig and customizing it. You can easily save your mail to your database before sending it besides your database provider, finally send your mail with your own provider, the default is SwiftMailer
Features
- Save your mail inside your database before sending it
- Build your own mail template with twig
- Save your mail template inside your database
- Easily integrate with your database provider
- Easily integrate with your mailing provider
- Send all your mail at once with the symfony command
Installation
With composer, require:
composer require extellient/mail-bundle
Then enable it in your kernel:
Now you have to update your database to get the two tables (Mail
, MailTemplate
)
Configuration
You need to configure the default mail.
The default configuration use the Doctrine bridge for the database, Twig for the templating and SwiftMailer to send mail. You don't need to create this file if you want to use the default configuration
Usage
Insert your first template inside your database
After to go to this page, check your data inside your table Mail and you should see your first entry inside it
Send all your mail
This command will send all the mail inside your table Mail, where sent_date = null
All versions of mail-bundle with dependencies
psr/log Version 1.0.*
doctrine/orm Version ^2.4.8
doctrine/doctrine-bundle Version ~1.4
symfony/swiftmailer-bundle Version ~2.3|^3.0
symfony/framework-bundle Version ^3.4||^4.0