#23944: Django should use custom exceptions for errors thrown by send_mail 
(etc.),
not smtplib.SMTPException
-------------------------------+--------------------------------------
     Reporter:  jordanreiter   |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Core (Mail)    |                  Version:  1.7
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by timgraham):

 It seems to me that applications may want to handle different email
 exceptions in a particular way. If we start hiding the original exception,
 that's no longer possible (or at least more difficult). I think having to
 update the exceptions that your application handles if you switch email
 backends is reasonable. On the other hand, that might not be feasible for
 third-party apps. If you have ideas on how you would implement this,
 sketching that out a bit more would be helpful.

--
Ticket URL: <https://code.djangoproject.com/ticket/23944#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.d8966a24f7f00bfc865297abebb145ec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to