Testing Emails in Development with Mailcatcher Discussion
I've recently discovered another tool to catch emails: https://github.com/mailhog/... It is implemented in Go, and could be installed via Homebrew on macOS. Can't say if it is better than MailCatcher in any way :)
I wrote some time ago a gem https://github.com/markets/... to test/preview emails. The approach is totally different: you should prepare data for emails in a config file but then you can easily navigate, in your browser, through all your emails without the need of sending them.
Very cool. Like the built-in Rails mailer previews but with a UI. http://guides.rubyonrails.o...
Thanks! In fact, the built-in solution is a port of https://github.com/basecamp... to the core. Main differences:
- as you said, the dashboard/UI allows to easily see all your emails and its content
- how to configure data for emails. It's quite easy and short with hooks https://github.com/markets/...
Another option I like is mailtrap.io, which has a free plan for 1 inbox. I like it because it shows HTML, HTML source, text, and raw output, plus spam analysis and html validation.
Thank you so much!
You just saved my bacon with this gem! I didn't even know it existed..!
Really Nice Video!
But I have a question: Is it 100 % sure that mailcatcher won't send real emails (to real user)?