Updated SMTP Configuration (markdown)

Mathijs van Veluw
2025-01-05 09:30:51 +01:00
parent c10fde59ab
commit 6598782cbc

@@ -72,12 +72,21 @@ By default the machine's hostname is used as the hostname in the HELO command. T
### Google/Gmail
You need to generate a App Password for Vaultwarden to work with Gmail.<br>
Follow the steps here: https://support.google.com/accounts/answer/185833?hl=en&ref_topic=7189145 (unavailable since 5/30/2022)<br>
Follow the steps here: https://support.google.com/accounts/answer/185833?hl=en&ref_topic=7189145<br>
In the end you well be shown a password (with spaces in between which are not there, it is just for easy type-over), use this password.<br>
> [!NOTE]
If that is not possible (because of your security settings), you can see [the section below about OAuth2 support](#oauth2-support) for more information.
StartTLS:
```ini
# Domains: gmail.com, googlemail.com
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURITY=starttls
SMTP_USERNAME=<mail-address>
SMTP_PASSWORD=<less-secure-app-password>
```
FullSSL:
```ini
@@ -88,15 +97,7 @@ FullSSL:
SMTP_USERNAME=<mail-address>
SMTP_PASSWORD=<less-secure-app-password>
```
StartTLS:
```ini
# Domains: gmail.com, googlemail.com
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURITY=starttls
SMTP_USERNAME=<mail-address>
SMTP_PASSWORD=<less-secure-app-password>
```
Also see: https://web.archive.org/web/20210925161633/https://webewizard.com/2019/09/17/Using-Lettre-With-Gmail/
### Hotmail/Outlook/Office365