Skip to content

Commit

Permalink
Merge pull request #1605 from mikehale/patch-1
Browse files Browse the repository at this point in the history
Update documentation regarding errors array
  • Loading branch information
eval authored Jun 3, 2024
2 parents 3dd53e0 + 4ee0e63 commit b641f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mail/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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] #=> <The original error message exception>
# message.errors.first[2] #=> <The original error message exception>
#
# 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.
Expand Down

0 comments on commit b641f39

Please sign in to comment.