0.0
No release in over 3 years
MailCatcher NG brings the beloved MailCatcher into the modern era: fast, reliable SMTP catching with a stunning real-time interface, updated dependencies, and powerful email inspection features
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 3.40
~> 1.0, >= 1.0.26
~> 13.3, >= 13.3.1
~> 7.0, >= 7.0.3
~> 3.13, >= 3.13.2
~> 1.82.1
~> 4.2, >= 4.2.1

Runtime

~> 1.2.7
~> 2.9
~> 0.5.1
~> 0.6.3
~> 3.2.4
~> 4.2.1
~> 2.9
~> 2.0
 Project Readme

MailCatcher NG (Next Generation)

Gem Version CI GitHub License

Catches mail and serves it through a dream.

MailCatcher NG runs a super simple SMTP server which catches any message sent to it to display in a web interface. Run mailcatcher, set your favourite app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server, then check out http://127.0.0.1:1080 to see the mail that's arrived so far.

MailCatcher screenshot

Table of Contents

Quick Start

  1. gem install mailcatcher-ng
  2. mailcatcher
  3. Go to http://127.0.0.1:1080/
  4. Send mail through smtp://127.0.0.1:1025

Features

  • Catches all mail and stores it for display
  • Shows HTML, Plain Text, and Source versions of messages
  • Rewrites HTML for safe display with embedded images
  • Downloads original email to view in any mail client
  • WebSockets real-time updates with automatic reconnection
  • Runs as a daemon in the background, or in foreground mode
  • catchmail command for PHP and sendmail-compatible systems
  • Keyboard navigation between messages
  • Email authentication verification (DMARC, DKIM, SPF)
  • Email encryption & signature support (S/MIME, OpenPGP)
  • BIMI (Brand Indicators for Message Identification) display
  • Advanced preview text extraction with intelligent fallback
  • Full UTF-8 and 8bit MIME transfer encoding support (SMTPUTF8, 8BITMIME)
  • Multiple encoding support (7bit, 8bit, base64, quoted-printable)
  • SSL/TLS encryption (STARTTLS & direct TLS/SMTPS)
  • Charset preservation for international content

For a comprehensive list of all features, see FEATURES.md.

Documentation

Detailed documentation is organized by topic:

Get MailCatcher NG up and running. Covers gem installation, source compilation, Docker, and special scenarios like RVM and Bundler.

Learn how to run MailCatcher NG, command-line options, development mode, and web interface features.

Configure your framework (Rails, Django, PHP, Docker) to send mail through MailCatcher NG.

Programmatic access to messages. Query, download, and manage messages via HTTP.

SSL/TLS encryption, UTF-8 and international content, email authentication, and more.

About MailCatcher NG and the original MailCatcher project.

License

MailCatcher NG is released under the MIT License, see LICENSE for details.