2017 © Pedro PelĂĄez
 

library swift_postmark-transport

Send emails with SwiftMailer using Postmark as the transport

image

rcrowe/swift_postmark-transport

Send emails with SwiftMailer using Postmark as the transport

  • Thursday, August 8, 2013
  • by rcrowe
  • Repository
  • 1 Watchers
  • 6 Stars
  • 255 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SwiftMailer Postmark transport

Send emails with SwiftMailer using Postmark as the transport., (*1)

Original author: Øystein Riiser Gundersen oysteinrg@gmail.com, (*2)

Forked to github by: Rob Crowe hello@vivalacrowe.com, (*3)

Package installation

The Postmark transport is provided as Composer package which can be installed by adding the package to your composer.json file:, (*4)

{
    "require": {
        "rcrowe\Swift_PostmarkTransport": "0.1.*"
    }
}

Usage

$transport = \rcrowe\Swift\Transport\Postmark::newInstance('POSTMARK_API_KEY');
$mailer    = Swift_Mailer::newInstance($transport);

$message = Swift_Message::newInstance('Subjebt')
                ->setFrom('hello@vivalacrowe.com')
                ->setTo('')
                ->setBody('This can be any text from the web app');

$mailer->send($message);

The Versions

08/08 2013

dev-master

9999999-dev https://github.com/rcrowe/Swift_PostmarkTransport

Send emails with SwiftMailer using Postmark as the transport

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.2.4

 

The Development Requires

email swiftmailer postmark