wrep / FOSUserBundleMandrillMailer

Provides a mailer service to use in combination with the FOSUserBundle and Mandrill.
4 stars 8 forks source link

FOSUserBundleMandrillMailer

Provides a mailer service to use in combination with the FOSUserBundle and Mandrill.

Installation and configuration:

Pretty simple with Composer, add:

{
    "require": {
        "wrep/fosuserbundle-mandrill-mailer": "dev-master"
    }
}

Add FOSUserBundleMandrillMailer to your application kernel

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Wrep\FOSUserBundleMandrillMailer\FOSUserBundleMandrillMailerBundle(),
        // ...
    );
}

Setup the config.yml file

// app/config/config.yml
fos_user:
    service:
        mailer: wrep.fosuserbundlemandrillmailer