summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorPhilip Couling <couling@gmail.com>2016-12-25 13:55:22 +0000
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-25 14:55:22 +0100
commitd4924d45d6d4e991240d207a834d8d6709781449 (patch)
treebdf6c450d7712ba17c2b06fba45cdeb0579090ec /conf
parent8de8ec027d1ca44f889b89a69b26c3a9b599bbb6 (diff)
downloadgitea-d4924d45d6d4e991240d207a834d8d6709781449.tar.gz
gitea-d4924d45d6d4e991240d207a834d8d6709781449.zip
Implement sendmail (#355)
* Implemented sendmail. This piggybacks on existing configuration to keep the change simple * Changed privicy of new sendSMTP and sendSendmail functions * Fixed Lint errors * Seperated SMTP and sendmail into their own senders * Making new structs private as they should not be used externally now * Added sendmail setting to ini file * Minor code cleanup
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index c46d52f2d5..cef7ae6d5b 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -226,6 +226,10 @@ USER =
PASSWD =
; Use text/html as alternative format of content
ENABLE_HTML_ALTERNATIVE = false
+; Enable sendmail (override SMTP)
+USE_SENDMAIL = false
+; Specifiy an alternative sendmail binary
+SENDMAIL_PATH = sendmail
[cache]
; Either "memory", "redis", or "memcache", default is "memory"