2017 © Pedro Peláez
 

symfony-bundle mailerloop-bundle

Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport

image

kimbalt/mailerloop-bundle

Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport

  • Tuesday, October 21, 2014
  • by RobertasV
  • Repository
  • 10 Watchers
  • 0 Stars
  • 62 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

21/10 2014

dev-master

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

Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport

  Sources   Download

MIT

The Requires

 

by pinfishing.com team

email symfony swift mailerloop