mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 18:56:11 +01:00
Merge pull request #764 from phsmit/fix_mailer
Remove standard mailer port lines
This commit is contained in:
commit
e6e2cf7855
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue