Trey Hunner

Python & Django on-site team training

Hire Me For Training

Log all outgoing emails in Django

| Comments

Ever needed to determine whether an email was sent from a Django project? I made a Django application that does exactly that: django-email-log.

I got the idea from a StackOverflow answer and I decided to make a real application out of it. All emails are stored in a single model which can easily be viewed, searched, sorted, and filtered from the admin site.

I used test-driven development when making the app and I baked in Python 3 support from the beginning. I found the process of TDD for a standalone Python package fairly easy and enjoyable.

Like my teaching style?

Want to learn more about Python? I share my favorite Python resources and answer Python questions every week through live chats. Sign up below and I’ll answer your questions about how to make your Python code more descriptive, more readable, and more Pythonic.