finds.dev

ActiveCampaign/postmark-rails

Official integration library for using Rails and ActionMailer with the Postmark HTTP API

View on GitHubHomepage ↗

★ 396RubyMITupdated Sep 2024

// the take

This is the official ActionMailer delivery method for sending through Postmark's HTTP API instead of SMTP. It is aimed at Rails apps already on Postmark that want a maintained adapter wired in through config.action_mailer, without writing their own.

- The lib/ tree is a railtie, a delivery method, a templated mailer, and a preview interceptor, so the integration surface is small and easy to audit against ActionMailer's delivery contract.

- Setup is two lines in application.rb, and postmark_settings passes straight through to Postmark::ApiClient options, so there is no second configuration layer to learn.

- templated_mailer.rb and preview_interceptor.rb cover Postmark-specific workflows, server-side templates and previews, that the stock ActionMailer adapters don't address.

- Specs are split into unit and integration suites, including a batch delivery spec, and CI runs on CircleCI.

- The last push was 2024-09-20, about two years ago. For a client library tied to a third-party HTTP API, that gap is a reason to check the open issues and recent API changes before adopting it.

- The supported-versions list stops at Rails 7.0 and the setup section still shows the Rails 3-5 secrets.yml pattern. Expect to read the code yourself to confirm it works on a current Rails release.

- Most feature documentation lives on an external wiki rather than in the repo. Anything the README doesn't cover is one more hop away and can drift from the code.

- It wraps the separate postmark gem, so error handling, retries, and failure semantics come from that dependency. You need to read both codebases to know what a failed send actually does.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
396
Forks
52
Language
Ruby
License
MIT
Last commit
20 Sep 2024

// nearby

If postmark-rails isn't quite it.

All repos →