-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ This gem allows you to override your mail delivery settings, globally or in a lo | |
| homepage | [http://www.railsbling.com/tags/sanitize_email/][homepage] | | ||
| documentation | [http://rdoc.info/github/pboling/sanitize_email/frames][documentation] | | ||
| live chat | [![Join the chat at https://gitter.im/pboling/sanitize_email](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pboling/sanitize_email?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | | ||
| Spread ~β‘βββ₯ββ‘~ | [π](https://about.me/peter.boling), [πΌ](https://angel.co/peter-boling), [:shipit:](http://coderwall.com/pboling), [![Tweet Peter](https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow)](http://twitter.com/galtzo), [πΉ](https://nationalprogressiveparty.org) | | ||
| Spread ~β‘βββ₯ββ‘~ | [π](https://about.me/peter.boling), [πΌ](https://angel.co/peter-boling), [:shipit:](http://coderwall.com/pboling), [![Tweet Peter](https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow)](http://twitter.com/galtzo) | | ||
|
||
|
||
## Summary | ||
|
@@ -52,6 +52,10 @@ Another very important use case for me is to transparently re-route email genera | |
|
||
If you install this gem on a production server (which I don't always do), you can load up script/console and override the to/cc/bcc on all emails for the duration of your console session. This allows you to poke and prod a live production instance, and route all email to your own inbox for inspection. The best part is that this can all be accomplished without changing a single line of your application code. | ||
|
||
## Monitoring all email sent by server to a backup account | ||
|
||
You may want to add a BCC automatically (e.g. to [email protected]) to every email sent by your system, for customer service purposes, and this gem allows that. Note that this may not be a good idea for all systems, for many reasons, e.g security! | ||
|
||
## Using with a test suite as an alternative to the heavy email_spec | ||
|
||
[email_spec](https://github.com/bmabey/email-spec) is a great gem, with awesome rspec matchers and helpers, but it has an undeclared dependency on ActionMailer. Sad face. | ||
|