Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tomschlick/fuel-postmark
- Owner: tomschlick
- License: mit
- Created: 2011-04-22T05:39:56.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-07-25T03:21:30.000Z (over 11 years ago)
- Last Synced: 2024-05-01T19:55:30.476Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 102 KB
- Stars: 21
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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();
```