mikel / mail

A Really Ruby Mail Library
MIT License
3.6k stars 931 forks source link

Update documentation regarding errors array #1605

Closed mikehale closed 1 month ago

mikehale commented 4 months ago

The errors list is built in field.rb like this:

      field.errors << [name, value, e]

That means there are 3 elements, but the last one would be at index 2, not 3.

eval commented 1 month ago

Thanks!