4 ms·
One of the things I like about Django is the builtin support for a console backend for emails In dev it means you can have sent emails get logged to the termin
by emptysea 4y ago
One of the things I like about Django is the builtin support for a console backend for emails
In dev it means you can have sent emails get logged to the terminal which makes debugging easier.
But it only really works well with text emails, this seems like a more robust solution
- axelthegerman 4y agoYep very nice if all you need is an email or two, maybe an activation code or link. Definitely an email heavy application benefits from something more advanced like MailCrab PS Ruby on Rails also logs emails to the console
- nickjj 4y agoThe terminal solution is handy but sometimes it fails because you could end up with a sign in link or some type of link with a very long token that wraps to multiple lines making it impossible to click. Rails also prints emails to the terminal and has a backend solution that doesn't really send emails out but I still prefer using MailCatcher to display them in a UI (it has both amd64 and arm64 Docker support[0], real-time updates and a ~25mb compressed Docker image). [0]: https://hub.docker.com/r/schickling/mailcatcher/tags https://hub.docker.com/r/schickling/mailcatcher/tags
- noduerme 4y agoIt also just works for all frameworks if you hack the receiver and BCC: emails you want to test to yourself to make sure they're actually being sent and look alright.