File: //usr/local/rvm/gems/ruby-3.0.2/doc/mail-2.7.1/ri/Mail/Message/errors-i.ri
U:RDoc::AnyMethod[iI"errors:ETI"Mail::Message#errors;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"QReturns a list of parser errors on the header, each field that had an error ;TI"Pwill be reparsed as an unstructured field to preserve the data inside, but ;TI"-will not be used for further processing.;To:RDoc::Markup::BlankLine o;
; [I"NIt returns a nested array of [field_name, value, original_error_message] ;TI"per error found.;T@o;
; [I"
Example:;T@o:RDoc::Markup::Verbatim; [
I"Amessage = Mail.new("Content-Transfer-Encoding: weirdo\r\n")
;TI"message.errors.size #=> 1
;TI"=message.errors.first[0] #=> "Content-Transfer-Encoding"
;TI"*message.errors.first[1] #=> "weirdo"
;TI"Hmessage.errors.first[3] #=> <The original error message exception>
;T:@format0o;
; [I"TThis is a good first defence on detecting spam by the way. Some spammers send ;TI"Iinvalid emails to try and get email parsers to give up parsing them.;T:
@fileI"lib/mail/message.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@#FI"Message;TcRDoc::NormalClass00