Browse Source

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

Ikko Ashimine 3 years ago
parent
commit
6f2b7fb853
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/email/message.go

+ 1 - 1
internal/email/message.go

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