I am sending email messages at different places in my application.
msg.send(fail_silently=True)
helps to avoid error page from displaying to end users when there is an error while sending the email. Is it possible to catch this error so that I make a log or execute a custom function?
Note: I am using Django 1.10.4 with Python 3.5.