Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Classes \Postman\Transports\Postmark

joebeeson edited this page Apr 4, 2011 · 2 revisions

The Postmark transport sends emails via Postmark, an online service for sending emails.

Postmark helps deliver and track transactional emails for web applications. In a nutshell, the service replaces SMTP (or sendmail) with a far more reliable, scalable and care-free environment. In addition, you can track statistics for number of emails sent, bounces and spam complaints.

Documentation regarding their API can be found at http://developer.postmarkapp.com/.

Due to the nature of the library the transport currently does not return any information from the server after an email is sent. Future revisions may supply this information.

Configuration

  • api-key (Required, string) Used to authenticate with the service.
  • testing (Optional, boolean) Tells the service if we're just testing.

Notes

Postmark only allows you to send "transactional" emails, or emails that occurred as a result of an action or at the request of the person that is receiving the email. Bulk email is strictly forbidden.

For every address that you intend to send email from, Postmark requires confirmation that you actually "control" that address. This means you cannot send emails from random addresses. If your account is in good standing you can contact support and ask for this limitation to be lifted.

At the time of writing, each new account receives 1,000 free emails.

Related