summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
author8ctopus <13252042+8ctopus@users.noreply.github.com>2019-10-16 16:34:20 +0500
committerzeripath <art27@cantab.net>2019-10-16 12:34:20 +0100
commit8f0e63c80a2cd3b4362aa5e5191163e22fae6054 (patch)
treee9fd4bb7630481a8f934bdda9b7fcc668d02c54a /docs
parent50b66b66e78408e410cc69755df9e067e48fd644 (diff)
downloadgitea-8f0e63c80a2cd3b4362aa5e5191163e22fae6054.tar.gz
gitea-8f0e63c80a2cd3b4362aa5e5191163e22fae6054.zip
Doc added how to setup email (#8520)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/usage/email-setup.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/content/doc/usage/email-setup.md b/docs/content/doc/usage/email-setup.md
new file mode 100644
index 0000000000..6fc9de81dd
--- /dev/null
+++ b/docs/content/doc/usage/email-setup.md
@@ -0,0 +1,33 @@
+---
+date: "2019-10-15T10:10:00+05:00"
+title: "Usage: Email setup"
+slug: "email-setup"
+weight: 12
+toc: true
+draft: false
+menu:
+ sidebar:
+ parent: "usage"
+ name: "Email setup"
+ weight: 12
+ identifier: "email-setup"
+---
+
+# Email setup
+
+- To use Gitea's built-in Email support, update the `app.ini` config file [mailer] section:
+
+```ini
+[mailer]
+ENABLED = true
+HOST = mail.mydomain.com:587
+FROM = gitea@mydomain.com
+USER = gitea@mydomain.com
+PASSWD = `password`
+```
+
+- Restart Gitea for the configuration changes to take effect.
+
+- 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" >}}) \ No newline at end of file