summaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
authorPeter <peter@smitmail.eu>2014-12-18 13:34:30 +0200
committerPeter <peter@smitmail.eu>2014-12-18 13:34:30 +0200
commit87be137b881ab868df30aa7e35923d6f14606c79 (patch)
tree61d096b42ca17ad82d75a9b11634da7768d38305 /conf/app.ini
parent0a697517ac79ea4b5f710f83381ed13dffb00272 (diff)
downloadgitea-87be137b881ab868df30aa7e35923d6f14606c79.tar.gz
gitea-87be137b881ab868df30aa7e35923d6f14606c79.zip
Rewrite of SendMail function
The SendMail function is rewritten and has the following new functionality: - It is optional to skip verification of keys. The config option SKIP_VERIFY is added - If the port is 465, or ending on 465, the TLS(/SSL) connection is started first.
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 1c7c70befa..d6ee6ae4d4 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -94,7 +94,10 @@ SUBJECT = %(APP_NAME)s
; Mail server
; Gmail: smtp.gmail.com:587
; QQ: smtp.qq.com:25
+; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used.
HOST =
+; Do not verify the certificate of the server. Only use this for self-signed certificates
+SKIP_VERIFY =
; Mail from address
FROM =
; Mailer user name and password