From 4ee0e6392693a25253e8b5146620598a1fa19a0e Mon Sep 17 00:00:00 2001 From: Michael Hale Date: Thu, 29 Feb 2024 14:59:55 -0500 Subject: [PATCH] Update documentation regarding errors array --- lib/mail/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mail/message.rb b/lib/mail/message.rb index 5c7d40abe..a7318f844 100644 --- a/lib/mail/message.rb +++ b/lib/mail/message.rb @@ -471,7 +471,7 @@ def headers(hash = {}) # message.errors.size #=> 1 # message.errors.first[0] #=> "Content-Transfer-Encoding" # message.errors.first[1] #=> "weirdo" - # message.errors.first[3] #=> + # message.errors.first[2] #=> # # This is a good first defence on detecting spam by the way. Some spammers send # invalid emails to try and get email parsers to give up parsing them.