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.