Low commit activity in last 3 years
A long-lived project that still receives updates
An Action Mailer delivery method that opens emails locally.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 2.8
>= 2.5, < 4.0
 Project Readme

Open Mailer

An Action Mailer delivery method that opens emails locally.

Usage

When delivering emails, they will be opened using your system’s default email client (e.g. Mail.app under macOS) without ever actually being sent.

Supported Action Mailer Versions

Open Mailer has been tested with all currently supported versions of Rails, which includes 7.2, 8.0, and 8.1. It may work with older versions, too, but this has not been confirmed.

Installation

Add this line to your application's Gemfile:

bundle add open_mailer --group development

Then add the following line to the config/environments/development.rb file in a Rails app:

config.action_mailer.delivery_method = :open_mailer

License

The gem is available as open source under the terms of the MIT License.