Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomschlick/fuel-postmark

A driver enabling the postmark email delivery service to be used in conjunction with Fuel
https://github.com/tomschlick/fuel-postmark

Last synced: 9 days ago
JSON representation

A driver enabling the postmark email delivery service to be used in conjunction with Fuel

Awesome Lists containing this project

README

        

# Postmark

Postmark extends Fuel's email class via a driver and allows you to send emails via the transactional email service. (http://postmarkapp.com)

# Install

to install this package simply add this source to your package configuration file:

http://github.com/tomschlick

and then use this command:

php oil package install postmark

# Usage

You can use this exactly the same way as you would use the default email protocols, just set your postmark api key in /fuel/packages/postmark/config/postmark.php

```php
Email::factory('default', array('driver' => 'postmark'))
->to('[email protected]')
->from('[email protected]')
->subject('testing123')
->html_body('Your message goes here.')
->send();
```