File: //usr/local/rvm/gems/default/doc/actionmailer-6.1.4.1/ri/ActionMailer/Base/headers-i.ri
U:RDoc::AnyMethod[iI"headers:ETI"ActionMailer::Base#headers;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"UAllows you to pass random and unusual headers to the new <tt>Mail::Message</tt> ;TI"*object which will add them to itself.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Aheaders['X-Special-Domain-Specific-Header'] = "SecretValue"
;T:@format0o;
; [I"MYou can also pass a hash into headers of header field names and values, ;TI"Awhich will then be set on the <tt>Mail::Message</tt> object:;T@o;; [I"Bheaders 'X-Special-Domain-Specific-Header' => "SecretValue",
;TI"2 'In-Reply-To' => incoming.message_id
;T;
0o;
; [I"PThe resulting <tt>Mail::Message</tt> will have the following in its header:;T@o;; [I"3X-Special-Domain-Specific-Header: SecretValue
;T;
0o;
; [I"2Note about replacing already defined headers:;T@o:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o;
; [I"+subject+;To;;0; [o;
; [I"
+sender+;To;;0; [o;
; [I"+from+;To;;0; [o;
; [I" +to+;To;;0; [o;
; [I" +cc+;To;;0; [o;
; [I"
+bcc+;To;;0; [o;
; [I"+reply-to+;To;;0; [o;
; [I"+orig-date+;To;;0; [o;
; [I"+message-id+;To;;0; [o;
; [I"+references+;T@o;
; [I"MFields can only appear once in email headers while other fields such as ;TI"3<tt>X-Anything</tt> can appear multiple times.;T@o;
; [I"MIf you want to replace any header which already exists, first set it to ;TI"M+nil+ in order to reset the value otherwise another field will be added ;TI"for the same header.;T:
@fileI"lib/action_mailer/base.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(args = nil);T@aFI" Base;TcRDoc::NormalClass00