Improves custom email verification SMTP error logging
Feature context
The custom email feature for Service Desk allows customers to use their own email address for sending and receiving emails. Customers set up email forwarding to the project-specific Service Desk address and pass their SMTP credentials, so we can send emails on their behalf.
Setting things up involves a verification step, where we try to send an email using the SMTP credentials to the custom email.
What does this MR do and why?
Solves Custom email: Catch all SMTP errors and log err... (#499862)
With this MR we catch all SMTP errors when sending the verification email. Additionally we also log the concrete error class and message so we have further insights into what exactly went wrong.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
backend only change
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.