id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 23944,"Django should use custom exceptions for errors thrown by send_mail (etc.), not smtplib.SMTPException",jordanreiter,nobody,"Since Django allows all kinds of backends — not just SMPT — for sending mail, it should have its own exceptions that different mail backends can subclass. Otherwise, if you have code like this: {{{ try: send_mail(...) except smptlib.SMTPException: # do something }}} And then switch to a backend that doesn't use smtplib, you won't catch the error. I think the exceptions should be available from `django.core.mail.exceptions` and then subclassed within each backend. ",Uncategorized,closed,Core (Mail),1.7,Normal,wontfix,,,Unreviewed,0,0,0,0,0,0