2017 © Pedro PelĂĄez
 

symfony-bundle mailerloop-bundle

Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport

image

notrix/mailerloop-bundle

Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport

  • Sunday, October 27, 2013
  • by notrix
  • Repository
  • 2 Watchers
  • 0 Stars
  • 97 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MailerloopBundle

Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport, (*1)

Configuration

in composer.json, (*2)

"require": {
    ...,
    "notrix/mailerloop-bundle": "dev-master"
},

in AppKernel.php, (*3)

public function registerBundles()
{
    $bundles = array(
        ...,
        new Notrix\MailerloopBundle\NotrixMailerloopBundle(),
    );
}

in config.yml, (*4)

swiftmailer:
    transport:  mailerloop

notrix_mailerloop:
    api_key: [MailerLoop API key]

Usage

use Notrix\MailerloopBundle\Message\MailerloopMessage;

$message = MailerloopMessage::newInstance()
    ->setSubject('Useful to mark message in code (will not be sent)')
    ->setTo('recipient1@example.com', 'Recipient Name')
    ->addTo('recipient2@example.com')
    ->setTemplateId(00000);

$this->get('mailer')->send($message);

The Versions

27/10 2013

dev-master

9999999-dev https://github.com/notrix/MailerloopBundle

Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport

  Sources   Download

MIT

The Requires

 

email symfony swift mailerloop