1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-30 14:09:42 -05:00

Merge pull request #764 from phsmit/fix_mailer

Remove standard mailer port lines
This commit is contained in:
无闻 2014-12-19 17:20:13 -05:00
commit e6e2cf7855

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,