Skip to content

Commit

Permalink
Update documentation regarding errors array
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehale authored and eval committed Jun 3, 2024
1 parent 9f5826a commit bff958b
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 @@ -464,7 +464,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 bff958b

Please sign in to comment.