Server IP : 66.29.132.122 / Your IP : 3.137.216.109 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: [] block_params: stream comment: - !ruby/struct:SM::Flow::P body: This method sends a message. If <tt>msgstr</tt> is given, sends it as a message. If block is given, yield a message writer stream. You must write message before the block is closed. - !ruby/struct:SM::Flow::VERB body: " # Example 1 (by string)\n smtp.data(<<EndMessage)\n From: john@example.com\n To: betty@example.com\n Subject: I found a bug\n\n Check vm.c:58879.\n EndMessage\n\n # Example 2 (by block)\n smtp.data {|f|\n f.puts "From: john@example.com"\n f.puts "To: betty@example.com"\n f.puts "Subject: I found a bug"\n f.puts ""\n f.puts "Check vm.c:58879."\n }\n" full_name: Net::SMTP#data is_singleton: false name: data params: (msgstr = nil) {|stream| ...} visibility: public