GMAIL as SMTP guide

This commit is contained in:
Jokob-sk
2023-01-23 23:00:21 +11:00
parent 8b4115fe48
commit 5b35e68cf2
3 changed files with 16 additions and 6 deletions

15
docs/SMTP_GMAIL.md Normal file
View File

@@ -0,0 +1,15 @@
## Use the Gmail SMTP server
1) Create an app password by following the instructions from Google, you need to Enable 2FA for this to work.
[https://support.google.com/accounts/answer/185833](https://support.google.com/accounts/answer/185833)
2) Specify the following settings:
```python
SMTP_SKIP_TLS=True
SMTP_FORCE_SSL=True
SMTP_PORT=465
SMTP_SERVER='smtp.gmail.com'
SMTP_PASS='16-digit passcode from google'
```