[SOLVED] Emails are not sent

Hello,

I have BitWarden deployed on OpenShift. When I try to get an e-mail from BitWarden (e. g. verification or master password hint) I get the message “An unhandled server error has occurred.” and in the api logs I get the following:

What could cause this issue and how I can fix it?
Thank you in advance for your help

Hi @Yevhen,

This looks like a network or credentials issue.

Please check that xxx.outlook.com is reachable and also check your SMTP settings (port?) and credentials (username and password are correct?). The errors comes up while trying to authenticate with your smtp provider.

Kind regards

Daniel

Thanks @djsmith85!

Also in your email configuration, if your email uses TLS, don’t enable SSL as funny as that sounds.

example for gmail:

[email protected]
globalSettings__mail__smtp__host=smtp.gmail.com
globalSettings__mail__smtp__port=587
globalSettings__mail__smtp__ssl=false
globalSettings__mail__smtp__username=<valid-gmail-username>
globalSettings__mail__smtp__password=<valid-gmail-password>
2 Likes

Thank you @djsmith85 and @tgreer for your help. Disabling SSL fixed this issue.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.