You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: