浏览代码

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

Ikko Ashimine 3 年之前
父节点
当前提交
6f2b7fb853
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {