File: //usr/local/rvm/gems/default/doc/mail-2.7.1/ri/Mail/Sendmail/cdesc-Sendmail.ri
U:RDoc::NormalClass[iI"
Sendmail:ETI"Mail::Sendmail;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"?A delivery method implementation which sends via sendmail.;To:RDoc::Markup::BlankLine o; ;[I"PTo use this, first find out where the sendmail binary is on your computer, ;TI"Uif you are on a mac or unix box, it is usually in /usr/sbin/sendmail, this will ;TI"be your sendmail location.;T@o:RDoc::Markup::Verbatim;[I"Mail.defaults do
;TI"! delivery_method :sendmail
;TI" end
;T:@format0o; ;[I">Or if your sendmail binary is not at '/usr/sbin/sendmail';T@o;;[I"Mail.defaults do
;TI"Q delivery_method :sendmail, :location => '/absolute/path/to/your/sendmail'
;TI" end
;T;0o; ;[I"+Then just deliver the email as normal:;T@o;;[I"Mail.deliver do
;TI"$ to 'mikel@test.lindsaar.net'
;TI"$ from 'ada@test.lindsaar.net'
;TI"" subject 'testing sendmail'
;TI" body 'testing sendmail'
;TI" end
;T;0o; ;[I",Or by calling deliver on a Mail message;T@o;;[
I"mail = Mail.new do
;TI"$ to 'mikel@test.lindsaar.net'
;TI"$ from 'ada@test.lindsaar.net'
;TI"" subject 'testing sendmail'
;TI" body 'testing sendmail'
;TI" end
;TI"
;TI"mail.deliver!;T;0:
@fileI"2lib/mail/network/delivery_methods/sendmail.rb;T:0@omit_headings_from_table_of_contents_below0;
0;0[[
I"
settings;TI"RW;T:publicFI"2lib/mail/network/delivery_methods/sendmail.rb;T[U:RDoc::Constant[i I"
DEFAULTS;TI"Mail::Sendmail::DEFAULTS;T;0o;;[ ;
@<;0@<@cRDoc::NormalClass0[ [[I"
class;T[[;[ [I" call;T@A[I"new;T@A[I"
popen;T@A[I"shellquote;T@A[:protected[ [:private[ [I"
instance;T[[;[[I"
deliver!;T@A[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;
0;0[@<I" Mail;TcRDoc::NormalModule