Server IP : 66.29.132.122 / Your IP : 3.136.17.147 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Net/SMTP/ |
Upload File : |
--- !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