£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyʦ•ꎅȮFÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~芩ÊÇí`ÔÑ©ú뙵'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ӽ㞪éUWŸÈË%DÒÕ¬ï‘]/Åcx ‰ï2ß]ä6G[]S£Ôϯrs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- !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 msgstr as a message. Single CR ("\r") and LF ("\n") found in the msgstr, are converted into the CR LF pair. You cannot send a binary message with this method. msgstr should include both the message headers and body.
- !ruby/struct:SM::Flow::P
body: from_addr is a String representing the source mail address.
- !ruby/struct:SM::Flow::P
body: to_addr 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