Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

MartinW12's avatar

Best way to send Postmark emails

Hello,

I am using Laravel 7 and want to send some of my emails using Postmark.

However I'm slightly confused as to what is the best way to do this.

The Laravel docs say to use the official Swiftmailer Transport for Postmark by Wildbit:

https://github.com/wildbit/swiftmailer-postmark

However the Postmark blog says to use the Laravel Postmark Adapter by CoconutCraig or SMTP:

https://postmarkapp.com/blog/how-to-send-transactional-emails-with-laravel-php-framework

My inclination is to go with the Laravel docs, but do all of these 3 options work equally well and are any of these 3 options more efficient?

Thanks,

Martin

0 likes
2 replies
Snapey's avatar

I've always treated it as an SMTP connection. I have about 8 different projects sending mail via postmark using smtp without any issue.

In fairness, I can't say I've bothered trying other methods in comparison.

1 like
dylanglockler's avatar

The API is much faster and more reliable. bash composer require symfony/postmark-mailer

.env MAIL_MAILER=postmark POSTMARK_TOKEN=YOUR-API-TOKEN-HERE

my App/Mail/SendCommunication.php

Please or to participate in this conversation.