mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-05 20:16:45 +08:00
Merge pull request #764 from phsmit/fix_mailer
Remove standard mailer port lines
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user