openbuildings/postmark
Laravel package for integrating Postmark email delivery into your app. Provides a simple mail driver and configuration for sending transactional emails via Postmark’s API, fitting neatly into Laravel’s mail system with minimal setup.
See #47.
Thanks to @sinamt for this upgrade!
Upgrade php version to ^7.1
Upgrade phpunit version to ^7
See #42 and #43.
This is fixing a bug introduced after merging https://github.com/OpenBuildings/postmark/pull/24
The Content-ID header must not be set for attachments with Content-Disposition: attachment. Postmark is automatically converting attachments with Content-ID to inline attachments, because the Content-Disposition cannot be set in the API.
See #30, #36, #37, #38.
This enables you to listed to Postmark API exceptions using the Swift built-in listeners. See #28 for more information.
See #24
See #21.
See #21.
See #21.
See #16 and #17.
The old interface is deprecated and will be removed in the next version. This release is a transitional release to the new interface. New things will be developed on top of the new one and 0.3.0 allows you to migrate gradually to it.
Summary of some of the changes:
| Old | New |
|---|---|
| $transport->api() | $transport->getApi() |
| $transport->api($api) | $transport->setApi($api) |
| $api->token() | $api->getToken() |
| $api->token($token) | $api->setToken($token) |
| $api->headers() | $api->getHeaders() |
| $api->is_secure() | $api->isSecure() |
| $api->get_send_uri() | $api->getSendUri() |
and so on...
Calling the old methods would trigger an E_USER_DEPRECATED error. You could suppress it with something like error_reporting(E_ALL & ~E_USER_DEPRECATED).
See #9, #10 and #11.
See https://github.com/OpenBuildings/postmark/pull/8
Other changes:
This makes it compatible with Laravel.
See #1.
How can I help you explore Laravel packages today?