Catch errors when sending e-mails.
When sending e-mails, errors are now catched to make sure the application does not stop with an 500 error, which can render the application unusable if an external mail server does not work.
When sending e-mails, errors are now catched to make sure the application does not stop with an 500 error, which can render the application unusable if an external mail server does not work.