File: C:/Ruby27-x64/share/ri/2.7.0/system/Net/SMTP/send_message-i.ri
U:RDoc::AnyMethod[iI"send_message:ETI"Net::SMTP#send_message;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"HSends +msgstr+ as a message. Single CR ("\r") and LF ("\n") found ;TI"Lin the +msgstr+, are converted into the CR LF pair. You cannot send a ;TI"Cbinary message with this method. +msgstr+ should include both ;TI""the message headers and body.;To:RDoc::Markup::BlankLine o;
; [I"B+from_addr+ is a String representing the source mail address.;T@o;
; [I"H+to_addr+ is a String or Strings or Array of Strings, representing ;TI"/the destination mail address or addresses.;T@S:RDoc::Markup::Heading:
leveli: textI"Example;T@o:RDoc::Markup::Verbatim; [
I"3Net::SMTP.start('smtp.example.com') do |smtp|
;TI"! smtp.send_message msgstr,
;TI"- 'from@example.com',
;TI"C ['dest@example.com', 'dest2@example.com']
;TI" end
;T:@format0S;;
i;I"Errors;T@o;
; [I"This method may raise:;T@o:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o;
; [I"Net::SMTPServerBusy;To;;0; [o;
; [I"Net::SMTPSyntaxError;To;;0; [o;
; [I"Net::SMTPFatalError;To;;0; [o;
; [I"Net::SMTPUnknownError;To;;0; [o;
; [I"Net::ReadTimeout;To;;0; [o;
; [I"IOError;T:
@fileI"lib/net/smtp.rb;T:0@omit_headings_from_table_of_contents_below000[[I"send_mail;To;; [ ;@G;0[I"
sendmail;To;; [ ;@G;0I"#(msgstr, from_addr, *to_addrs);T@GFI" SMTP;TcRDoc::NormalClass00