-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add email and domain whitelist options #8
base: main
Are you sure you want to change the base?
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.