Skip to content

Commit 1fd718c

Browse files
Update Gmail mailer configuration
1 parent a1c3074 commit 1fd718c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/content/doc/usage/email-setup.en-us.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,15 @@ The following configuration should work with GMail's SMTP server:
7676
```ini
7777
[mailer]
7878
ENABLED = true
79+
HOST = smtp.gmail.com:465
7980
SMTP_ADDR = smtp.gmail.com
8081
SMTP_PORT = 465
81-
82-
USER = example@gmail.com
82+
FROM = example.user@gmail.com
83+
USER = example.user
8384
PASSWD = ***
8485
MAILER_TYPE = smtp
8586
IS_TLS_ENABLED = true
86-
HELO_HOSTNAME = example.com
8787
```
88+
89+
Note that you'll need to create and use an [App password](https://support.google.com/accounts/answer/185833?hl=en) by enabling 2FA on your Google
90+
account. You won't be able to use your Google account password directly.

0 commit comments

Comments
 (0)