Download the PHP package ffreitas-br/mandrill-bundle without Composer
On this page you can find all versions of the php package ffreitas-br/mandrill-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ffreitas-br/mandrill-bundle
More information about ffreitas-br/mandrill-bundle
Files in ffreitas-br/mandrill-bundle
Package mandrill-bundle
Short Description Symfony HipMandrillBundle
License MIT
Homepage https://github.com/ffreitas-br/MandrillBundle
Informations about the package mandrill-bundle
MandrillBundle
Send transactional mail through mandrill.com. This bundle provides an easy api for Symfony2 Projects.
All settings inside message class represent attributes of Mandrill's API. Please refer to their API documentation for Details:
https://mandrillapp.com/api/docs/messages.html
Prerequisites
Before you're able to use this bundle you must sign up with Mandrill.
Mandrill is a great way to send your transactional emails and provides detailed advances reports.
Mandrill is free for limited number of email per day, please read through pricing section on the website for more information:
Installation
Add the bundle to your composer.json
Run composer install
Enable the bundle in the kernel
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new FFreitasBr\MandrillBundle\MandrillBundle(),
);
}
Configuration
Add configuration to config.yml.
Log in to Mandrill and go to "Settings" -> "SMTP and API Credentials". Create an API Key and use it in your Symfony2 Configuration.
Now you're all set, send your first transactional mails:
Use
Simple controller Example: