Began work on emailing service #1456

This commit is contained in:
Torkel Ödegaard
2015-06-04 14:29:39 +02:00
parent 83279604c6
commit 3f5ab189cd
9 changed files with 334 additions and 0 deletions

View File

@@ -114,6 +114,9 @@ var (
ReportingEnabled bool
GoogleAnalyticsId string
// SMTP email settings
Smtp SmtpSettings
)
type CommandLineArgs struct {

View File

@@ -0,0 +1,11 @@
package setting
type SmtpSettings struct {
Host string
User string
Password string
CertFile string
KeyFile string
FromAddress string
SkipVerify bool
}