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-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: smtp comment: - !ruby/struct:SM::Flow::P body: Opens a TCP connection and starts the SMTP session. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/struct:SM::Flow::P body: <tt>helo</tt> is the <em>HELO</em> <em>domain</em> that you'll dispatch mails from; see the discussion in the overview notes. - !ruby/struct:SM::Flow::P body: If both of <tt>user</tt> and <tt>secret</tt> are given, SMTP authentication will be attempted using the AUTH command. <tt>authtype</tt> specifies the type of authentication to attempt; it must be one of :login, :plain, and :cram_md5. See the notes on SMTP Authentication in the overview. - !ruby/struct:SM::Flow::H level: 3 text: Block Usage - !ruby/struct:SM::Flow::P body: When this methods is called with a block, the newly-started SMTP object is yielded to the block, and automatically closed after the block call finishes. Otherwise, it is the caller's responsibility to close the session when finished. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::P body: This is very similar to the class method SMTP.start. - !ruby/struct:SM::Flow::VERB body: " require 'net/smtp'\n smtp = Net::SMTP.new('smtp.mail.server', 25)\n smtp.start(helo_domain, account, password, authtype) do |smtp|\n smtp.send_message msgstr, 'from@example.com', ['dest@example.com']\n end\n" - !ruby/struct:SM::Flow::P body: The primary use of this method (as opposed to SMTP.start) is probably to set debugging (#set_debug_output) or ESMTP (#esmtp=), which must be done before the session is started. - !ruby/struct:SM::Flow::H level: 3 text: Errors - !ruby/struct:SM::Flow::P body: If session has already been started, an IOError will be raised. - !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: false name: start params: (helo = 'localhost.localdomain', user = nil, secret = nil, authtype = nil) {|smtp| ...} visibility: public
Upload File
Create Folder