user gomail and new activate account email tpl

- #1496: fallback plain text
- #1002: add date header
- #913: fix encoding of header
This commit is contained in:
Unknwon 2015-09-17 01:54:12 -04:00
parent e75fd2f783
commit 373731f5e8
16 changed files with 187 additions and 302 deletions

View file

@ -45,6 +45,7 @@ func checkRunMode() {
func NewServices() {
setting.NewServices()
mailer.NewContext()
social.NewOauthService()
}
@ -53,7 +54,6 @@ func GlobalInit() {
setting.NewContext()
log.Trace("Custom path: %s", setting.CustomPath)
log.Trace("Log path: %s", setting.LogRootPath)
mailer.NewContext()
models.LoadConfigs()
NewServices()