Skip to content
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

safe mail mode #14

Open
pupeno opened this issue Oct 22, 2015 · 2 comments
Open

safe mail mode #14

pupeno opened this issue Oct 22, 2015 · 2 comments

Comments

@pupeno
Copy link

pupeno commented Oct 22, 2015

I think it would be nice if clojurewerkz mailer implemented a safe mail mode in which a white listed set of email addresses are sent emails too and the rest are re-written so that a different email address receives those emails.

This is useful for development and staging environments where you want to deliver emails but you don't want to accidentally deliver a real user. There are some libraries that do that in other programming languages already, like: https://github.com/myronmarston/mail_safe

I think if this feature is implemented directly into mailer it'll be much cleaner and safer than a wrapper.

@pupeno
Copy link
Author

pupeno commented Oct 22, 2015

I can give it a go at building this if it's something you are likely to accept.

@michaelklishin
Copy link
Member

Sounds good. Please put together some code examples of what it would look like before putting more time into it. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants