]> source.dussan.org Git - gitea.git/commit
Rewrite of SendMail function
authorPeter <peter@smitmail.eu>
Thu, 18 Dec 2014 11:34:30 +0000 (13:34 +0200)
committerPeter <peter@smitmail.eu>
Thu, 18 Dec 2014 11:34:30 +0000 (13:34 +0200)
commit87be137b881ab868df30aa7e35923d6f14606c79
tree61d096b42ca17ad82d75a9b11634da7768d38305
parent0a697517ac79ea4b5f710f83381ed13dffb00272
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.
conf/app.ini
modules/mailer/mailer.go
modules/setting/setting.go