mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-20 04:58:52 +00:00
Add docs for gmail (#10995)
Fix #10971 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lauris BH <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
Lauris BH
parent
6d363ebc39
commit
1449b6fa4b
@@ -45,3 +45,19 @@ PASSWD = `password`
|
|||||||
- To send a test email to validate the settings, go to Gitea > Site Administration > Configuration > SMTP Mailer Configuration.
|
- To send a test email to validate the settings, go to Gitea > Site Administration > Configuration > SMTP Mailer Configuration.
|
||||||
|
|
||||||
For the full list of options check the [Config Cheat Sheet]({{< relref "doc/advanced/config-cheat-sheet.en-us.md" >}})
|
For the full list of options check the [Config Cheat Sheet]({{< relref "doc/advanced/config-cheat-sheet.en-us.md" >}})
|
||||||
|
|
||||||
|
### Gmail
|
||||||
|
|
||||||
|
The following configuration should work with GMail's SMTP server:
|
||||||
|
|
||||||
|
```ini
|
||||||
|
[mailer]
|
||||||
|
ENABLED = true
|
||||||
|
HOST = smtp.gmail.com:465
|
||||||
|
FROM = [email protected]
|
||||||
|
USER = [email protected]
|
||||||
|
PASSWD = ***
|
||||||
|
MAILER_TYPE = smtp
|
||||||
|
IS_TLS_ENABLED = true
|
||||||
|
HELO_HOSTNAME = example.com
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user