diff options
author | Ikko Ashimine <eltociear@gmail.com> | 2021-12-16 22:06:41 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 21:06:41 +0800 |
commit | 6f2b7fb8531ac6a500a8f90f88dff8e479a76840 (patch) | |
tree | afd90fc9e950c0753bb9f508ec8f0a24f3f0e85f /internal | |
parent | 899ec7ed5436abcaa4ed1c6d28a1b4abf249a0ea (diff) |
chore: fix typo in message.go (#6587)
Diffstat (limited to 'internal')
-rw-r--r-- | internal/email/message.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/email/message.go b/internal/email/message.go index cca7c6d3..ec4f7cc1 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 { |