2017 © Pedro Peláez
 

library postmark

Postmark PHP wrapper for PHP 5.4+

image

jpiasetz/postmark

Postmark PHP wrapper for PHP 5.4+

  • Saturday, March 5, 2016
  • by jpiasetz
  • Repository
  • 1 Watchers
  • 5 Stars
  • 1,386 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

Postmark-PHP - Wrapper for PHP 5.4+ Build Status

Postmark is an easy to integrate email service. This wrapper allows you use to use the api in your php applications., (*1)

Usage

<?php

use Postmark\Message;
use Postmark\Mail;

// create a message
$message = new Message();
$message->setFrom('sender@example.com');
$message->addTo('receiver@example.com');
$message->setSubject('Test');
$message->setTextBody('Hello');

// send message
$mail = new Mail('POSTMARK_API_TEST');
$mail->send($message);

Batch usages, (*2)

<?php

use Postmark\Message;
use Postmark\Mail;

// create a message
$message = new Message();
$message->setFrom('sender@example.com');
$message->addTo('receiver@example.com');
$message->setSubject('Test');
$message->setTextBody('Hello');

// create an array of messages you want to send
$messages = array($message, $message);

// send message
$mail = new Mail('POSTMARK_API_TEST');
$mail->batchSend($messages);

Author

John Piasetzki - john@piasetzki.name - http://twitter.com/jpiasetz
, (*3)

License

Postmark-PHP is licensed under the MIT License - see the LICENSE file for details, (*4)

The Versions

05/03 2016

dev-master

9999999-dev https://github.com/jpiasetz/postmark-php

Postmark PHP wrapper for PHP 5.4+

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

email postmark

05/03 2016

1.1.0

1.1.0.0 https://github.com/jpiasetz/postmark-php

Postmark PHP wrapper for PHP 5.4+

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

email postmark

05/05 2013

1.0.0

1.0.0.0 https://github.com/jpiasetz/postmark-php

Postmark PHP wrapper for PHP 5.4+

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

email postmark