From 12a145f612dcf273732705ea41efc501ee6db75e Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Sat, 24 Feb 2024 21:46:48 +0100 Subject: [PATCH] Fix typos in comments in tls.go The comments within the tls.go file had multiple typographical errors which could have caused misunderstandings. These typos have been corrected to improve the clarity of the comments and maintain code understanding. --- tls.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tls.go b/tls.go index e8ccc67..bb7ad14 100644 --- a/tls.go +++ b/tls.go @@ -8,17 +8,17 @@ package mail type TLSPolicy int const ( - // TLSMandatory requires that the connection cto the server is + // TLSMandatory requires that the connection to the server is // encrypting using STARTTLS. If the server does not support STARTTLS // the connection will be terminated with an error TLSMandatory TLSPolicy = iota - // TLSOpportunistic tries cto establish an encrypted connection via the + // TLSOpportunistic tries to establish an encrypted connection via the // STARTTLS protocol. If the server does not support this, it will fall - // back cto non-encrypted plaintext transmission + // back to non-encrypted plaintext transmission TLSOpportunistic - // NoTLS forces the transaction cto be not encrypted + // NoTLS forces the transaction to be not encrypted NoTLS )