2017 © Pedro Peláez
 

library mandrill-swiftmailer

A SwiftMailer transport implementation for Mandrill

image

accord/mandrill-swiftmailer

A SwiftMailer transport implementation for Mandrill

  • Monday, May 21, 2018
  • by Kyoushu
  • Repository
  • 3 Watchers
  • 10 Stars
  • 152,084 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 15 Forks
  • 0 Open issues
  • 11 Versions
  • 10 % Grown

The README.md

Accord\MandrillSwiftMailer

Build Status, (*1)

A SwiftMailer transport implementation for Mandrill, (*2)

!! This library is no longer being actively maintained. We are accepting pull requests, but cannot guarantee a timeline for releases. !!, (*3)

If possible, we recommend migrating your projects to the symfony/mailer component., (*4)

Installation

Require the package with composer, (*5)

composer require accord/mandrill-swiftmailer

Usage Example

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

Using Mandrill-specific Features

Asynchronous Mode

Enable a background sending mode that is optimized for bulk sending, (*6)

$transport->setAsync(true);

Auto Text

Automatically generate a text part for messages that are not given text, (*7)

$message->getHeaders()->addTextHeader('X-MC-Autotext', true);

Google Analytics tracking

Mandrill supports automatic Google Analytics tracking for your links. docs, (*8)

$message->getHeaders()->addTextHeader('X-MC-GoogleAnalytics', 'example.com,www.example.com');
// optional defaults to from address
$message->getHeaders()->addTextHeader('X-MC-GoogleAnalyticsCampaign', 'campaign');

Tags

An array of string to tag the message with, (*9)

$message->getHeaders()->addTextHeader('X-MC-Tags', 'foo, bar');

Inline CSS

Automatically inline all CSS styles provided in the message HTML - only for HTML documents less than 256KB in size, (*10)

$message->getHeaders()->addTextHeader('X-MC-InlineCSS', true);

List Unsubscribe

Mandrill automatically adds a List-Unsubscribe header to all emails that include a Mandrill-generated unsubscribe link. If recipients use an email program that supports the List-Unsubscribe header (like Hotmail, AOL, or Yahoo), they can use the option in their email program to unsubscribe., (*11)

$message->getHeaders()->addTextHeader('List-Unsubscribe', '<mailto:unsubscribe@example.com>');

The Versions

21/05 2018

dev-master

9999999-dev https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

29/06 2017

2.1.0

2.1.0.0 https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

02/06 2017

2.0.0

2.0.0.0 https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

01/06 2017

1.x-dev

1.9999999.9999999.9999999-dev https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

11/05 2017

1.3.0

1.3.0.0 https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

14/03 2017

1.2.0

1.2.0.0 https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

28/04 2016

1.1.0

1.1.0.0 https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

21/04 2016

1.0.3

1.0.3.0 https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

25/01 2016

1.0.2

1.0.2.0 https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

25/11 2015

1.0.1

1.0.1.0 https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill

27/05 2015

1.0.0

1.0.0.0 https://github.com/AccordGroup/MandrillSwiftMailer

A SwiftMailer transport implementation for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by James Rattue
by James Willans

swiftmailer mandrill