Fix app crash on SMTP email send error.