hyphenio/mandrill-swiftmailer

A SwiftMailer transport implementation for Mandrill

1.1.0 2016-05-04 03:53 UTC

This package is not auto-updated.

Last update: 2024-05-17 17:28:59 UTC


README

Build Status

A SwiftMailer transport implementation for Mandrill

Installation

Require the package with composer

composer require accord/mandrill-swiftmailer

Usage

$dispatcher = new Swift_Events_SimpleEventDispatcher();
$transport = new MandrillTransport($dispatcher);
$transport->setApiKey('ABCDEFG12345');
$transport->setAsync(true); # Optional
$transport->send($message);