Download the PHP package jonom/silverstripe-postmark-mailer without Composer
On this page you can find all versions of the php package jonom/silverstripe-postmark-mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jonom/silverstripe-postmark-mailer
More information about jonom/silverstripe-postmark-mailer
Files in jonom/silverstripe-postmark-mailer
Package silverstripe-postmark-mailer
Short Description Postmark mailer class for SilverStripe
License BSD-3-Clause
Informations about the package silverstripe-postmark-mailer
Notice for SilverStripe 4 users
This module is for SilverStripe v3 only. SilverStripe 4 supports many email services through configuration only by providing a wrapper for SwiftMailer. Postmark takes some extra work to set up though, because SS4 uses SwiftMailer v5, and the official Postmark adapter for that version is incomplete. Here are a couple of different approaches for working around the issue:
SilverStripe Postmark Mailer
This module lets you send SilverStripe emails through the official Postmark PHP library, falling back to PHP's built-in sendmail()
if Postmark is unreachable.
Requirements
- PHP 5.5+
- SilverStripe ^3.1
- Postmark-PHP
Note: an alternative Postmark Mailer class that works with older versions of SilverStripe and PHP is available here.
Installation
Install with Composer. Learn how
Documentation
You will need to provide a PostmarkAPP API key and at least one verified email address (Sender Signature) that you have set up in your Postmark account. If you try to send an email from a non-verified address, the From address will be changed to the first verified address you provided and a Reply-To field will be set with the original From address.
Example configuration
In your project's _config.php
file:
or:
In your project's _config/config.yml
file:
Maintainer contact
Sponsorship
If you want to boost morale of the maintainer you're welcome to make a small monthly donation through GitHub, or a one time donation through PayPal. ❤️ Thank you!
Please also feel free to get in touch if you want to hire the maintainer to develop a new feature, or discuss another opportunity.