Open itsrachelfish opened 4 years ago
Possible solution: SMTP configuration errors should be handled gracefully by notifying end users via a flash message that they signed up for the shift but an email confirmation could not be sent due to the SMTP error.
"Success! You've signed up for this shift."
"Warning: Unable to send email confirmation, SMTP error. Please notify the administrator of this volunteer database."
We are currently getting an unhandled 500 server error on production because the SMTP credentials we were using were invalidated. Now whenever somebody tries to sign up for a shift it says "Whoops. Something went wrong" because the SMTP server is rejecting our username / password.
Fortunately users can still sign up for shifts despite the error message because sending a notification is the last step of the process.