Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Net
/
SMTP
/
//opt/alt/ruby27/share/ri/system/Net/SMTP/data-i.ri
U:RDoc::AnyMethod[iI" data:ETI"Net::SMTP#data;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I""This method sends a message. ;TI"2If +msgstr+ is given, sends it as a message. ;TI"7If block is given, yield a message writer stream. ;TI"7You must write message before the block is closed.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"# Example 1 (by string) ;TI"smtp.data(<<EndMessage) ;TI"From: john@example.com ;TI"To: betty@example.com ;TI"Subject: I found a bug ;TI" ;TI"Check vm.c:58879. ;TI"EndMessage ;TI" ;TI"# Example 2 (by block) ;TI"smtp.data {|f| ;TI"' f.puts "From: john@example.com" ;TI"& f.puts "To: betty@example.com" ;TI"' f.puts "Subject: I found a bug" ;TI" f.puts "" ;TI"" f.puts "Check vm.c:58879." ;TI"};T:@format0: @fileI"lib/net/smtp.rb;T:0@omit_headings_from_table_of_contents_below00I"stream;T[ I"(msgstr = nil);T@%FI" SMTP;TcRDoc::NormalClass00