Bitwarden and Gmail SMTP

Hello,
I have a problem with Bitwarden. I have installed Bitwarden locally. Without public domain and without valid certificate. I now wanted to enter my SMTP in the env file. For this I thought I can use gmail. I tested gmails SMTP with the entered data also on https://www.gmass.co/smtp-test and on port 25 with TLS and without SSl everything works.
But in Bitwarden with this data I get the error that the SMTP does not support authentication. I have the same problem when I enable SSL on the above mentioned page, but in Bitwarden I set SSL to false. Maybe someone can help me, or at least tell me where to find the logs. Thanks :slight_smile:

[email protected]
globalSettings__mail__smtp__host=smtp.gmail.com
globalSettings__mail__smtp__port=25
globalSettings__mail__smtp__ssl=false
[email protected]
globalSettings__mail__smtp__password=mygmailpasswd
globalSettings__disableUserRegistration=false
globalSettings__hibpApiKey=REPLACE
[email protected]

Hello @Jonathan1 - welcome to the Bitwarden community.

Have you seen this information?

@Jonathan1, did you manage to get this working?

I’ve just finished setting up my instance with a gmail account with no hiccups. The thread pointed by @dh024 from this community has plenty of information around it. In case you’re interested my settings are as follows:

[email protected]
globalSettings__mail__smtp__host=smtp.gmail.com
globalSettings__mail__smtp__port=587
globalSettings__mail__smtp__ssl=true
[email protected]
globalSettings__mail__smtp__password=my-16-chars-app-password

And the app password was generated at the accounts settings as instructed by Google itself.