X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/Net/SMTP
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Net
/
SMTP
/
ðŸ“
..
ðŸ“
Response
📄
auth_capable%3f-i.yaml
(188 B)
📄
auth_cram_md5-i.yaml
(195 B)
📄
auth_login-i.yaml
(189 B)
📄
auth_method-i.yaml
(184 B)
📄
auth_plain-i.yaml
(189 B)
📄
authenticate-i.yaml
(223 B)
📄
base64_encode-i.yaml
(187 B)
📄
capable%3f-i.yaml
(177 B)
📄
capable_auth_types-i.yaml
(342 B)
📄
capable_cram_md5_auth%3f-i.yaml
(334 B)
📄
capable_login_auth%3f-i.yaml
(325 B)
📄
capable_plain_auth%3f-i.yaml
(325 B)
📄
capable_starttls%3f-i.yaml
(319 B)
📄
cdesc-SMTP.yaml
(9.57 KB)
📄
check_auth_args-i.yaml
(200 B)
📄
check_auth_continue-i.yaml
(199 B)
📄
check_auth_method-i.yaml
(196 B)
📄
check_auth_response-i.yaml
(199 B)
📄
check_continue-i.yaml
(189 B)
📄
check_response-i.yaml
(189 B)
📄
cram_md5_response-i.yaml
(267 B)
📄
cram_secret-i.yaml
(192 B)
📄
critical-i.yaml
(191 B)
📄
data-i.yaml
(890 B)
📄
debug_output%3d-i.yaml
(641 B)
📄
default_port-c.yaml
(251 B)
📄
default_ssl_context-c.yaml
(195 B)
📄
default_submission_port-c.yaml
(285 B)
📄
default_tls_port-c.yaml
(261 B)
📄
disable_ssl-i.yaml
(240 B)
📄
disable_starttls-i.yaml
(343 B)
📄
disable_tls-i.yaml
(369 B)
📄
do_finish-i.yaml
(176 B)
📄
do_helo-i.yaml
(183 B)
📄
do_start-i.yaml
(209 B)
📄
ehlo-i.yaml
(171 B)
📄
enable_ssl-i.yaml
(271 B)
📄
enable_starttls-i.yaml
(357 B)
📄
enable_starttls_auto-i.yaml
(385 B)
📄
enable_tls-i.yaml
(497 B)
📄
esmtp%3d-i.yaml
(474 B)
📄
esmtp%3f-i.yaml
(318 B)
📄
esmtp-i.yaml
(223 B)
📄
finish-i.yaml
(289 B)
📄
get_response-i.yaml
(189 B)
📄
getok-i.yaml
(175 B)
📄
helo-i.yaml
(171 B)
📄
inspect-i.yaml
(262 B)
📄
logging-i.yaml
(175 B)
📄
mailfrom-i.yaml
(182 B)
📄
new-c.yaml
(626 B)
📄
new_internet_message_io-i.yaml
(205 B)
📄
open_message_stream-i.yaml
(2.48 KB)
📄
quit-i.yaml
(165 B)
📄
rcptto-i.yaml
(176 B)
📄
rcptto_list-i.yaml
(198 B)
📄
read_timeout%3d-i.yaml
(289 B)
📄
ready-i.yaml
(256 B)
📄
recv_response-i.yaml
(184 B)
📄
send_mail-i.yaml
(265 B)
📄
send_message-i.yaml
(1.74 KB)
📄
sendmail-i.yaml
(263 B)
📄
set_debug_output-i.yaml
(255 B)
📄
ssl%3f-i.yaml
(219 B)
📄
start-c.yaml
(2.63 KB)
📄
start-i.yaml
(2.58 KB)
📄
started%3f-i.yaml
(261 B)
📄
starttls%3f-i.yaml
(388 B)
📄
starttls-i.yaml
(233 B)
📄
starttls_always%3f-i.yaml
(260 B)
📄
starttls_auto%3f-i.yaml
(288 B)
📄
tls%3f-i.yaml
(284 B)
📄
tlsconnect-i.yaml
(179 B)
Editing: start-c.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: smtp comment: - !ruby/struct:SM::Flow::P body: Creates a new Net::SMTP object and connects to the server. - !ruby/struct:SM::Flow::P body: "This method is equivalent to:" - !ruby/struct:SM::Flow::VERB body: " Net::SMTP.new(address, port).start(helo_domain, account, password, authtype)\n" - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " Net::SMTP.start('your.smtp.server') do |smtp|\n smtp.send_message msgstr, 'from@example.com', ['dest@example.com']\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Block Usage - !ruby/struct:SM::Flow::P body: If called with a block, the newly-opened Net::SMTP object is yielded to the block, and automatically closed when the block finishes. If called without a block, the newly-opened Net::SMTP object is returned to the caller, and it is the caller's responsibility to close it when finished. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/struct:SM::Flow::P body: <tt>address</tt> is the hostname or ip address of your smtp server. - !ruby/struct:SM::Flow::P body: <tt>port</tt> is the port to connect to; it defaults to port 25. - !ruby/struct:SM::Flow::P body: <tt>helo</tt> is the <em>HELO</em> <em>domain</em> provided by the client to the server (see overview comments); it defaults to 'localhost.localdomain'. - !ruby/struct:SM::Flow::P body: The remaining arguments are used for SMTP authentication, if required or desired. <tt>user</tt> is the account name; <tt>secret</tt> is your password or other authentication token; and <tt>authtype</tt> is the authentication type, one of :plain, :login, or :cram_md5. See the discussion of SMTP Authentication in the overview notes. - !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::SMTPAuthenticationError - !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::start is_singleton: true name: start params: (address, port = nil, helo = 'localhost.localdomain', user = nil, secret = nil, authtype = nil) {|smtp| ...} visibility: public
Upload File
Create Folder