Conversation
|
+1, great to whitelist exception's email (ie. when using exception_notification gem). Thanks to both of you for your work. |
|
@croaky - is there any chance on merging this PR? |
|
👍 |
|
Hi folks. Making sure I understand the use case:
While we could make The |
|
Hi @croaky, I'll let others respond about "domain_whitelist". In our case, we only use the "email_whitelist" option. Here's what we have in our staging.rb:
Without this PR, product owner+testers would receive all exceptions emails as well. Thanks! |
|
@croaky Thanks for the handy library. You understand the use cases correctly. A domain whitelist would be nice so test users on a certain domain could receive email at their own address instead of the catch all. |
|
@croaky Just came across this PR and this interests me. I guess I thought RecipientInterceptor worked like a whitelist this whole time, when it appears that it completely overrides |
@croaky Thanks for this great gem.
This PR adds two options:
If one or more of the original recipients match the email white-list or domain white-list, the email's to field will not be overridden. However, non-white-listed emails will be removed from the email's to field.