composer require wildbit/postmark-php
PostmarkClientand send your first email.
<?php // Import the Postmark Client Class: require_once('./vendor/autoload.php'); use Postmark\PostmarkClient; $client = new PostmarkClient("POSTMARK-SERVER-API-TOKEN-HERE"); // Send an email: $sendResult = $client->sendEmail( "firstname.lastname@example.org", "email@example.com", "Hello from Postmark!", "This is just a friendly 'hello' from your friends at Postmark." ); ?>
Want to test our APIs and activity logging? Send emails to firstname.lastname@example.org
Postmark has a reputation for high quality. Even though there are several good companies, we were convinced by Postmark’s clear documentation and transparent roadmap. Further, building email infrastructure is really a partnership — we wanted to invest in a platform that would continue to grow along with our needs, not one that was fairly static and falling behind the technology curve.
I was shocked to see Postmark open rates were an 11% improvement over SES in our test. Needless to say we started sending all of our transactional email through Postmark.
We’re really happy we decided to use Postmark for ITV’s British Soap Awards. We only count votes from verified email addresses and Postmark’s excellent delivery has lead to our highest verification percentage ever. We'll definitely use Postmark again!
Postmark blows every other transactional email product out of the water.
We’ve got you covered. We process transactional email for companies of all sizes:
45 days worth of full content history to help you troubleshoot.
A robust developer API to tightly integrate your app with Postmark.
Increased visibility with detailed open and delivery tracking for every email.
Keep track of bounced emails through the web dashboard, or use web hooks to notify your app of any issues.
Take the pain out of handling inbound email. Postmark turns inbound email into a handy JSON object and posts it to a web hook URL.
SPF, DKIM, and DMARC support included, with clear guides to help you get set up.