summaryrefslogtreecommitdiffstats
path: root/modules/mailer/mailer.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mailer/mailer.go')
-rw-r--r--modules/mailer/mailer.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go
index 211ad59cdd..f17e5c2736 100644
--- a/modules/mailer/mailer.go
+++ b/modules/mailer/mailer.go
@@ -73,10 +73,6 @@ func sendMail(settings *setting.Mailer, from string, recipients []string, msgCon
return err
}
- if len(port) == 0 {
- port = "587"
- }
-
tlsconfig := &tls.Config{
InsecureSkipVerify: settings.SkipVerify,
ServerName: host,