Download the PHP package daily/hipaway-mandrill-bundle without Composer
On this page you can find all versions of the php package daily/hipaway-mandrill-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download daily/hipaway-mandrill-bundle
More information about daily/hipaway-mandrill-bundle
Files in daily/hipaway-mandrill-bundle
Informations about the package hipaway-mandrill-bundle
HipMandrillBundle
[] (http://travis-ci.org/Hipaway-Travel/HipMandrillBundle)
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 Hip\MandrillBundle\HipMandrillBundle(),
);
}
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:
All versions of hipaway-mandrill-bundle with dependencies
symfony/config Version >=2.1,<2.4-dev
daily/mandrill-dm Version 0.*