Remove standard mailer port lines

This lines got committed by accident. They do actually nothing, as SplitHostPort will give an error if port is not given.
This commit is contained in:
Peter 2014-12-19 22:00:11 +02:00
parent b231b8c927
commit 007cf33e88
1 changed files with 0 additions and 4 deletions

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,