|
|
@ -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, |
|
|
|