mirror of
https://github.com/gogs/gogs.git
synced 2026-03-06 12:11:00 +01:00
chore: fix typo in message.go (#6587)
This commit is contained in:
@@ -151,7 +151,7 @@ func (s *Sender) Send(from string, to []string, msg io.WriterTo) error {
|
||||
}
|
||||
}
|
||||
|
||||
// If not using SMTPS, alway use STARTTLS if available
|
||||
// If not using SMTPS, always use STARTTLS if available
|
||||
hasStartTLS, _ := client.Extension("STARTTLS")
|
||||
if !isSecureConn && hasStartTLS {
|
||||
if err = client.StartTLS(tlsconfig); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user