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 Feb 29, 2024
1 parent 3dd53e0 commit 4ee0e63
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 4ee0e63

Please sign in to comment.