This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
Is there a way to catch SMTPDataError on sending validation emails when my mailserver is down? Right now rest-auth/registration returns 500 status code to my frontend with no explanation. The user is registered just fine, but their validation email isn't sent. I'd like to catch that error in Django and send a non-error status code so that they know they've registered and then I'll queue their validation for later.
Is there a way to catch SMTPDataError on sending validation emails when my mailserver is down? Right now rest-auth/registration returns 500 status code to my frontend with no explanation. The user is registered just fine, but their validation email isn't sent. I'd like to catch that error in Django and send a non-error status code so that they know they've registered and then I'll queue their validation for later.