SMTP Error [CAUSE]MissingParts

Running Docker version 19.03.6, build 369ce74
This is what is in my .env file:
SMTP_HOST=smtp.gmail.com
SMTP_FROM={gmail account}
SMTP_PORT=587
SMTP_SSL=true
SMTP_EXPLICIT_TLS=true
SMTP_USERNAME={gmail account}
SMTP_PASSWORD={password of gmail account}

When trying to send a verification email from bitwarden, I get this error message:
[2020-06-15 00:20:23][request][INFO] POST /api/accounts/verify-email
[2020-06-15 00:20:23][bitwarden_rs::api::core::accounts][ERROR] Error sending delete account email: AddressError.
[CAUSE] MissingParts
[2020-06-15 00:20:23][response][INFO] POST /api/accounts/verify-email (post_verify_email) => 200 OK

I’ve looked around but can’t seem to find anyone with the MissingParts issue.

Not sure about MissingParts, but try the settings from

Hello @bliau03,

You probably need to configure smtp_auth_mechanism to be either “Login” or “Plain”.
There is also an “Xoauth2” which seems to be used for gmail, but i haven’t used that before.
Also, it could be that you need to create a application password for your gmail account to let this work.

Please see: https://support.google.com/mail/answer/185833?hl=en for more information about the application passwords.

Thanks, all fixed now.