Skip to content

BJMDesign/silverstripe-mandrill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mandrill Mailer for Silverstripe

Send email using Mandrill API from Silverstripe CMS

Usage

Set globally in _config.php

Email::set_mailer(
    new MandrillMailer( [apikey] );
);

Extend the Silverstripe Email class and specify this Mailer for use with it.

class MyEmail extends Email {
    __construct(){
        $mandrillMailer = new MandrillMailer( [apikey] );
        $this->set_mailer( $mandrillMailler );
    }

}

About

Silverstripe Mailer using Mandrill API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages