Browse Source

Merge pull request #764 from phsmit/fix_mailer

Remove standard mailer port lines
for-closed-social
无闻 10 years ago
parent
commit
e6e2cf7855
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      modules/mailer/mailer.go

+ 0
- 4
modules/mailer/mailer.go View File

@ -73,10 +73,6 @@ func sendMail(settings *setting.Mailer, from string, recipients []string, msgCon
return err return err
} }
if len(port) == 0 {
port = "587"
}
tlsconfig := &tls.Config{ tlsconfig := &tls.Config{
InsecureSkipVerify: settings.SkipVerify, InsecureSkipVerify: settings.SkipVerify,
ServerName: host, ServerName: host,

Loading…
Cancel
Save