chore: fix typo in message.go (#6587)

pull/6666/head
Ikko Ashimine 2021-12-16 22:06:41 +09:00 committed by GitHub
parent 899ec7ed54
commit 6f2b7fb853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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