PHPackages                             jonom/silverstripe-postmark-mailer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. jonom/silverstripe-postmark-mailer

ActiveSilverstripe-module[Mail &amp; Notifications](/categories/mail)

jonom/silverstripe-postmark-mailer
==================================

Postmark mailer class for SilverStripe

v2.0.0(8y ago)38.2k6BSD-3-ClausePHPPHP &gt;=5.5CI failing

Since Nov 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jonom/silverstripe-postmark-mailer)[ Packagist](https://packagist.org/packages/jonom/silverstripe-postmark-mailer)[ RSS](/packages/jonom-silverstripe-postmark-mailer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Notice for SilverStripe 4 users
-------------------------------

[](#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:

- [Use patched fork through composer](https://forum.silverstripe.org/t/using-postmark-with-swift-mailer-on-ss4-2/873)
- [Create custom transport in project](https://gist.github.com/wilr/d32a0e83af3489538603f1b2f18dc73a)

SilverStripe Postmark Mailer
============================

[](#silverstripe-postmark-mailer)

This module lets you send SilverStripe emails through the [official Postmark PHP library](https://github.com/wildbit/postmark-php), falling back to PHP's built-in `sendmail()` if Postmark is unreachable.

Requirements
------------

[](#requirements)

- PHP 5.5+
- SilverStripe ^3.1
- [Postmark-PHP](https://github.com/wildbit/postmark-php)

*Note: an alternative Postmark Mailer class that works with older versions of SilverStripe and PHP is available [here](https://github.com/fullscreeninteractive/silverstripe-postmarkmailer).*

Installation
------------

[](#installation)

Install with Composer. [Learn how](https://docs.silverstripe.org/en/getting_started/composer/#adding-modules-to-your-project)

```
composer require "jonom/silverstripe-postmark-mailer:^1.0"

```

Documentation
-------------

[](#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](https://postmarkapp.com/). 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
---------------------

[](#example-configuration)

In your project's `_config.php` file:

```
Email::set_mailer(new PostmarkMailer());
```

or:

```
// Send email through Postmark in live environment only
if (Director::isLive()) {
	Email::set_mailer(new PostmarkMailer());
}
```

In your project's `_config/config.yml` file:

```
PostmarkMailer:
  api_key: 'your-key-goes-here'
  sender_signatures:
    - 'example@yourwebsite.com'
    - 'example2@yourwebsite.com'
```

Maintainer contact
------------------

[](#maintainer-contact)

[Jono Menz](https://jonomenz.com)

Sponsorship
-----------

[](#sponsorship)

If you want to boost morale of the maintainer you're welcome to make a small monthly donation through [**GitHub**](https://github.com/sponsors/jonom), or a one time donation through [**PayPal**](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z5HEZREZSKA6A). ❤️ Thank you!

Please also feel free to [get in touch](https://jonomenz.com) if you want to hire the maintainer to develop a new feature, or discuss another opportunity.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~809 days

Total

2

Last Release

3007d ago

Major Versions

v1.0 → v2.0.02018-02-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/54ba1a57c516be631e90bac916e1add4a84fe2b39284aa5a5cc5ea37c0d6cefa?d=identicon)[Jono M](/maintainers/Jono%20M)

---

Top Contributors

[![jonom](https://avatars.githubusercontent.com/u/1079425?v=4)](https://github.com/jonom "jonom (3 commits)")[![lozcalver](https://avatars.githubusercontent.com/u/1655548?v=4)](https://github.com/lozcalver "lozcalver (1 commits)")

---

Tags

emailsilverstripemailerpostmark

### Embed Badge

![Health badge](/badges/jonom-silverstripe-postmark-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/jonom-silverstripe-postmark-mailer/health.svg)](https://phpackages.com/packages/jonom-silverstripe-postmark-mailer)
```

###  Alternatives

[markguinn/silverstripe-email-helpers

Silverstripe extension containing SMTP mailer class and some other classes for HTML emails

3145.4k1](/packages/markguinn-silverstripe-email-helpers)[unclecheese/silverstripe-permamail

Adds database storage of emails and CMS definition of email templates.

2014.8k](/packages/unclecheese-silverstripe-permamail)[camfindlay/apes

The Automated Provision of Email Services (APES) module will allow you to set up an automated sync mechanism between the SilverStripe Member DataObject and MailChimp.

122.6k](/packages/camfindlay-apes)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
