PHPackages                             openbuildings/postmark - 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. openbuildings/postmark

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

openbuildings/postmark
======================

Swiftmailer Transport Class for Postmark

0.5.0(5y ago)15369.8k↓29.6%7[5 issues](https://github.com/OpenBuildings/postmark/issues)[3 PRs](https://github.com/OpenBuildings/postmark/pulls)2BSD-3-ClausePHPPHP ^7.1CI failing

Since Sep 9Pushed 5y ago12 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (22)Used By (2)

Postmark Transport
==================

[](#postmark-transport)

[![Build Status](https://camo.githubusercontent.com/ec963602b64f96c24c5a2e9184e51c62e312b19b4c35f6d123c5f3d83458e173/68747470733a2f2f7472617669732d63692e6f72672f4f70656e4275696c64696e67732f706f73746d61726b2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/OpenBuildings/postmark)[![Latest Stable Version](https://camo.githubusercontent.com/15954cf39ba3178b4220b8f09ea76aee2cfc889d3152f758d318c14eb7fd9269/68747470733a2f2f706f7365722e707567782e6f72672f6f70656e6275696c64696e67732f706f73746d61726b2f762f737461626c652e706e67)](https://packagist.org/packages/openbuildings/postmark)

A full featured postmark transport for Swiftmailer, allowing attachments, html emails / parts, cc, bcc and sending multiple emails with one api call.

Usage
-----

[](#usage)

```
$transport = Swift_PostmarkTransport::newInstance('your api key');

$mailer = new Swift_Mailer($transport);
$message = new Swift_Message();

// Add stuff to your message
$message->setFrom('test@example.com');
$message->setTo('test2@example.com');
$message->setSubject('Test');
$message->setBody('Test Email');

$mailer->send($message);
```

Usage with Symfony 2
--------------------

[](#usage-with-symfony-2)

Define Postmark Transport as service:

```
services:
    swift_transport.postmark:
        class: Openbuildings\Postmark\Swift_PostmarkTransport
        arguments:
            - POSTMARK_API_KEY
```

In config.yml change transport to defined service:

```
swiftmailer:
    transport: swift_transport.postmark
```

License
-------

[](#license)

Copyright (c) 2012-2013, OpenBuildings Ltd. Developed by Ivan Kerin as part of [clippings.com](http://clippings.com)

Under BSD-3-Clause license, read LICENSE file.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.4% 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 ~144 days

Recently: every ~416 days

Total

20

Last Release

1897d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.3.2

0.4.0PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/506129?v=4)[Harry Dobrev](/maintainers/hkdobrev)[@hkdobrev](https://github.com/hkdobrev)

![](https://avatars.githubusercontent.com/u/4113307?v=4)[Danail Kyosev](/maintainers/dkyosev)[@dkyosev](https://github.com/dkyosev)

![](https://avatars.githubusercontent.com/u/7592650?v=4)[Evstati Zarkov](/maintainers/EZarkov)[@EZarkov](https://github.com/EZarkov)

![](https://avatars.githubusercontent.com/u/745771?v=4)[Filip Georgiev](/maintainers/phgeorgiev)[@phgeorgiev](https://github.com/phgeorgiev)

![](https://avatars.githubusercontent.com/u/490439?v=4)[Zdravko Evstatiev](/maintainers/zedevs)[@zedevs](https://github.com/zedevs)

---

Top Contributors

[![hkdobrev](https://avatars.githubusercontent.com/u/506129?v=4)](https://github.com/hkdobrev "hkdobrev (58 commits)")[![ivank](https://avatars.githubusercontent.com/u/4976?v=4)](https://github.com/ivank "ivank (6 commits)")[![piotrantosik](https://avatars.githubusercontent.com/u/154553?v=4)](https://github.com/piotrantosik "piotrantosik (3 commits)")[![BradEstey](https://avatars.githubusercontent.com/u/578665?v=4)](https://github.com/BradEstey "BradEstey (2 commits)")[![christheyounger](https://avatars.githubusercontent.com/u/2162344?v=4)](https://github.com/christheyounger "christheyounger (1 commits)")[![romaricdrigon](https://avatars.githubusercontent.com/u/919405?v=4)](https://github.com/romaricdrigon "romaricdrigon (1 commits)")[![sinamt](https://avatars.githubusercontent.com/u/29794?v=4)](https://github.com/sinamt "sinamt (1 commits)")[![sprain](https://avatars.githubusercontent.com/u/260361?v=4)](https://github.com/sprain "sprain (1 commits)")[![stanstst](https://avatars.githubusercontent.com/u/9391542?v=4)](https://github.com/stanstst "stanstst (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/openbuildings-postmark/health.svg)

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

###  Alternatives

[edamov/pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key) or certificate-based authentication

4093.0M16](/packages/edamov-pushok)[cspoo/swiftmailer-mailgun-bundle

Swiftmailer Mailgun bundle

1031.1M](/packages/cspoo-swiftmailer-mailgun-bundle)[wildbit/swiftmailer-postmark

A Swiftmailer Transport for Postmark.

542.8M6](/packages/wildbit-swiftmailer-postmark)[openbuildings/swiftmailer-css-inliner

Inline the css of your html emails

69401.9k3](/packages/openbuildings-swiftmailer-css-inliner)[mailjet/mailjet-swiftmailer

A SwiftMailer transport implementation for Mailjet

261.2M9](/packages/mailjet-mailjet-swiftmailer)[phalcon-ext/mailer

Mailer component as wrapper over SwiftMailer for Phalcon.

39196.9k2](/packages/phalcon-ext-mailer)

PHPackages © 2026

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