From 6f2b7fb8531ac6a500a8f90f88dff8e479a76840 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Thu, 16 Dec 2021 22:06:41 +0900 Subject: [PATCH] chore: fix typo in message.go (#6587) --- internal/email/message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/email/message.go b/internal/email/message.go index cca7c6d36..ec4f7cc17 100644 --- a/internal/email/message.go +++ b/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 {