ok
Direktori : /proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Net/SMTP/ |
Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Net/SMTP/send_message-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: send_mail - !ruby/object:RI::AliasName name: sendmail block_params: comment: - !ruby/struct:SM::Flow::P body: Sends <tt>msgstr</tt> as a message. Single CR ("\r") and LF ("\n") found in the <tt>msgstr</tt>, are converted into the CR LF pair. You cannot send a binary message with this method. <tt>msgstr</tt> should include both the message headers and body. - !ruby/struct:SM::Flow::P body: <tt>from_addr</tt> is a String representing the source mail address. - !ruby/struct:SM::Flow::P body: <tt>to_addr</tt> is a String or Strings or Array of Strings, representing the destination mail address or addresses. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " Net::SMTP.start('smtp.example.com') do |smtp|\n smtp.send_message msgstr,\n 'from@example.com',\n ['dest@example.com', 'dest2@example.com']\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Errors - !ruby/struct:SM::Flow::P body: "This method may raise:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPServerBusy - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPSyntaxError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPFatalError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPUnknownError - !ruby/struct:SM::Flow::LI label: "*" body: IOError - !ruby/struct:SM::Flow::LI label: "*" body: TimeoutError type: :BULLET full_name: Net::SMTP#send_message is_singleton: false name: send_message params: (msgstr, from_addr, *to_addrs) visibility: public