File: //usr/local/rvm/gems/ruby-2.7.4/doc/mail-2.7.1/ri/Mail/Message/perform_deliveries-i.ri
U:RDoc::Attr[iI"perform_deliveries:ETI"%Mail::Message#perform_deliveries;TI"RW;T:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"LIf set to false, mail will go through the motions of doing a delivery, ;TI"Lbut not actually call the delivery method or append the mail object to ;TI"9the Mail.deliveries collection. Useful for testing.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I" Mail.deliveries.size #=> 0
;TI" mail.delivery_method :smtp
;TI"%mail.perform_deliveries = false
;TI"Fmail.deliver # Mail::SMTP not called here
;TI" Mail.deliveries.size #=> 0
;T:@format0o;
; [I"NIf you want to test and query the Mail.deliveries collection to see what ;TI"Fmail you sent, you should set perform_deliveries to true and use ;TI"$the :test mail delivery_method:;T@o;; [
I" Mail.deliveries.size #=> 0
;TI" mail.delivery_method :test
;TI"$mail.perform_deliveries = true
;TI"mail.deliver
;TI" Mail.deliveries.size #=> 1
;T;
0o;
; [I"OThis setting is ignored by mail (though still available as a flag) if you ;TI"define a delivery_handler;T:
@fileI"lib/mail/message.rb;T:0@omit_headings_from_table_of_contents_below0F@)I"Mail::Message;TcRDoc::NormalClass0