camuthig / courier-postmark
This package is abandoned and no longer maintained.
No replacement package was suggested.
An adapter for sending emails through Postmark with Courier
0.2.0
2018-12-27 15:13 UTC
Requires
- php: ^7.1
- guzzlehttp/guzzle: ^6.3
- psr/log: ^1.0
- quartzy/courier: ^0.6.0
- wildbit/postmark-php: ^2.3
Requires (Dev)
- ext-imap: *
- mockery/mockery: ^0.9.8
- phpunit/phpunit: ^7.0
- vlucas/phpdotenv: ^2.4
- zbateson/mail-mime-parser: ^0.4.8
This package is auto-updated.
Last update: 2022-11-28 05:32:00 UTC
README
Archived
The quartzy/courier has moved to read-only.
Courier
A courier implementation for Postmark.
See documentation for full details.
Install
Via Composer
composer require camuthig/courier-postmark
Usage
<?php use Courier\SendGridCourier; use PhpEmail\EmailBuilder; use PhpEmail\Content\SimpleContent; $courier = new PostmarkCourier(new PostmarkClient(getenv('POSTMARK_KEY'))); $email = EmailBuilder::email() ->withSubject('Welcome!') ->withContent(SimpleContent::text('Start your free trial now!!!')) ->from('me@test.com') ->to('you@yourbusiness.com') ->build(); $courier->deliver($email);
For details on building the email objects, see Php Email.
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email a project maintainer instead of using the issue tracker.
Credits
License
The Apache License, v2.0. Please see License File for more information.