$51 GRAYBYTE WORDPRESS FILE MANAGER $32

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/ruby18/share/ri/1.8/system/Net/SMTP/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/Net/SMTP//cdesc-SMTP.yaml
--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The address of the SMTP server to connect to.
  name: address
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Seconds to wait while attempting to open a connection. If the connection cannot be opened within this time, a TimeoutError is raised.
  name: open_timeout
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The port number of the SMTP server to connect to.
  name: port
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Seconds to wait while reading one block (by one read(2) call). If the read(2) call does not complete within this time, a TimeoutError is raised.
  name: read_timeout
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: default_port
- !ruby/object:RI::MethodSummary 
  name: default_ssl_context
- !ruby/object:RI::MethodSummary 
  name: default_submission_port
- !ruby/object:RI::MethodSummary 
  name: default_tls_port
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: start
comment: 
- !ruby/struct:SM::Flow::H 
  level: 1
  text: Net::SMTP
- !ruby/struct:SM::Flow::H 
  level: 2
  text: What is This Library?
- !ruby/struct:SM::Flow::P 
  body: This library provides functionality to send internet mail via SMTP, the Simple Mail Transfer Protocol. For details of SMTP itself, see [RFC2821] (http://www.ietf.org/rfc/rfc2821.txt).
- !ruby/struct:SM::Flow::H 
  level: 2
  text: What is This Library NOT?
- !ruby/struct:SM::Flow::P 
  body: This library does NOT provide functions to compose internet mails. You must create them by yourself. If you want better mail support, try RubyMail or TMail. You can get both libraries from RAA. (http://www.ruby-lang.org/en/raa.html)
- !ruby/struct:SM::Flow::P 
  body: "FYI: the official documentation on internet mail is: [RFC2822] (http://www.ietf.org/rfc/rfc2822.txt)."
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Examples
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Sending Messages
- !ruby/struct:SM::Flow::P 
  body: You must open a connection to an SMTP server before sending messages. The first argument is the address of your SMTP server, and the second argument is the port number. Using SMTP.start with a block is the simplest way to do this. This way, the SMTP connection is closed automatically after the block is executed.
- !ruby/struct:SM::Flow::VERB 
  body: "    require 'net/smtp'\n    Net::SMTP.start('your.smtp.server', 25) do |smtp|\n      # Use the SMTP object smtp only in this block.\n    end\n"
- !ruby/struct:SM::Flow::P 
  body: Replace 'your.smtp.server' with your SMTP server. Normally your system manager or internet provider supplies a server for you.
- !ruby/struct:SM::Flow::P 
  body: Then you can send messages.
- !ruby/struct:SM::Flow::VERB 
  body: "    msgstr = <<END_OF_MESSAGE\n    From: Your Name <[email protected]>\n    To: Destination Address <[email protected]>\n    Subject: test message\n    Date: Sat, 23 Jun 2001 16:26:43 +0900\n    Message-Id: <[email protected]>\n\n    This is a test message.\n    END_OF_MESSAGE\n\n    require 'net/smtp'\n    Net::SMTP.start('your.smtp.server', 25) do |smtp|\n      smtp.send_message msgstr,\n                        '[email protected]',\n                        '[email protected]'\n    end\n"
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Closing the Session
- !ruby/struct:SM::Flow::P 
  body: "You MUST close the SMTP session after sending messages, by calling the #finish method:"
- !ruby/struct:SM::Flow::VERB 
  body: "    # using SMTP#finish\n    smtp = Net::SMTP.start('your.smtp.server', 25)\n    smtp.send_message msgstr, 'from@address', 'to@address'\n    smtp.finish\n"
- !ruby/struct:SM::Flow::P 
  body: "You can also use the block form of SMTP.start/SMTP#start. This closes the SMTP session automatically:"
- !ruby/struct:SM::Flow::VERB 
  body: "    # using block form of SMTP.start\n    Net::SMTP.start('your.smtp.server', 25) do |smtp|\n      smtp.send_message msgstr, 'from@address', 'to@address'\n    end\n"
- !ruby/struct:SM::Flow::P 
  body: I strongly recommend this scheme. This form is simpler and more robust.
- !ruby/struct:SM::Flow::H 
  level: 3
  text: HELO domain
- !ruby/struct:SM::Flow::P 
  body: In almost all situations, you must provide a third argument to SMTP.start/SMTP#start. This is the domain name which you are on (the host to send mail from). It is called the "HELO domain". The SMTP server will judge whether it should send or reject the SMTP session by inspecting the HELO domain.
- !ruby/struct:SM::Flow::VERB 
  body: "    Net::SMTP.start('your.smtp.server', 25,\n                    'mail.from.domain') { |smtp| ... }\n"
- !ruby/struct:SM::Flow::H 
  level: 3
  text: SMTP Authentication
- !ruby/struct:SM::Flow::P 
  body: "The Net::SMTP class supports three authentication schemes; PLAIN, LOGIN and CRAM MD5. (SMTP Authentication: [RFC2554]) To use SMTP authentication, pass extra arguments to SMTP.start/SMTP#start."
- !ruby/struct:SM::Flow::VERB 
  body: "    # PLAIN\n    Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain',\n                    'Your Account', 'Your Password', :plain)\n    # LOGIN\n    Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain',\n                    'Your Account', 'Your Password', :login)\n\n    # CRAM MD5\n    Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain',\n                    'Your Account', 'Your Password', :cram_md5)\n"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: Revision
  value: "%q$Revision: 28208 $.split[1]"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Authentication
  name: DEFAULT_AUTH_TYPE
  value: ":plain"
- !ruby/object:RI::Constant 
  comment: 
  name: IMASK
  value: "0x36"
- !ruby/object:RI::Constant 
  comment: 
  name: OMASK
  value: "0x5c"
- !ruby/object:RI::Constant 
  comment: 
  name: CRAM_BUFSIZE
  value: "64"
full_name: Net::SMTP
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: auth_capable?
- !ruby/object:RI::MethodSummary 
  name: auth_cram_md5
- !ruby/object:RI::MethodSummary 
  name: auth_login
- !ruby/object:RI::MethodSummary 
  name: auth_method
- !ruby/object:RI::MethodSummary 
  name: auth_plain
- !ruby/object:RI::MethodSummary 
  name: authenticate
- !ruby/object:RI::MethodSummary 
  name: base64_encode
- !ruby/object:RI::MethodSummary 
  name: capable?
- !ruby/object:RI::MethodSummary 
  name: capable_auth_types
- !ruby/object:RI::MethodSummary 
  name: capable_cram_md5_auth?
- !ruby/object:RI::MethodSummary 
  name: capable_login_auth?
- !ruby/object:RI::MethodSummary 
  name: capable_plain_auth?
- !ruby/object:RI::MethodSummary 
  name: capable_starttls?
- !ruby/object:RI::MethodSummary 
  name: check_auth_args
- !ruby/object:RI::MethodSummary 
  name: check_auth_continue
- !ruby/object:RI::MethodSummary 
  name: check_auth_method
- !ruby/object:RI::MethodSummary 
  name: check_auth_response
- !ruby/object:RI::MethodSummary 
  name: check_continue
- !ruby/object:RI::MethodSummary 
  name: check_response
- !ruby/object:RI::MethodSummary 
  name: cram_md5_response
- !ruby/object:RI::MethodSummary 
  name: cram_secret
- !ruby/object:RI::MethodSummary 
  name: critical
- !ruby/object:RI::MethodSummary 
  name: data
- !ruby/object:RI::MethodSummary 
  name: debug_output=
- !ruby/object:RI::MethodSummary 
  name: disable_ssl
- !ruby/object:RI::MethodSummary 
  name: disable_starttls
- !ruby/object:RI::MethodSummary 
  name: disable_tls
- !ruby/object:RI::MethodSummary 
  name: do_finish
- !ruby/object:RI::MethodSummary 
  name: do_helo
- !ruby/object:RI::MethodSummary 
  name: do_start
- !ruby/object:RI::MethodSummary 
  name: ehlo
- !ruby/object:RI::MethodSummary 
  name: enable_ssl
- !ruby/object:RI::MethodSummary 
  name: enable_starttls
- !ruby/object:RI::MethodSummary 
  name: enable_starttls_auto
- !ruby/object:RI::MethodSummary 
  name: enable_tls
- !ruby/object:RI::MethodSummary 
  name: esmtp
- !ruby/object:RI::MethodSummary 
  name: esmtp=
- !ruby/object:RI::MethodSummary 
  name: esmtp?
- !ruby/object:RI::MethodSummary 
  name: finish
- !ruby/object:RI::MethodSummary 
  name: get_response
- !ruby/object:RI::MethodSummary 
  name: getok
- !ruby/object:RI::MethodSummary 
  name: helo
- !ruby/object:RI::MethodSummary 
  name: inspect
- !ruby/object:RI::MethodSummary 
  name: logging
- !ruby/object:RI::MethodSummary 
  name: mailfrom
- !ruby/object:RI::MethodSummary 
  name: new_internet_message_io
- !ruby/object:RI::MethodSummary 
  name: open_message_stream
- !ruby/object:RI::MethodSummary 
  name: quit
- !ruby/object:RI::MethodSummary 
  name: rcptto
- !ruby/object:RI::MethodSummary 
  name: rcptto_list
- !ruby/object:RI::MethodSummary 
  name: read_timeout=
- !ruby/object:RI::MethodSummary 
  name: ready
- !ruby/object:RI::MethodSummary 
  name: recv_response
- !ruby/object:RI::MethodSummary 
  name: send_mail
- !ruby/object:RI::MethodSummary 
  name: send_message
- !ruby/object:RI::MethodSummary 
  name: sendmail
- !ruby/object:RI::MethodSummary 
  name: set_debug_output
- !ruby/object:RI::MethodSummary 
  name: ssl?
- !ruby/object:RI::MethodSummary 
  name: start
- !ruby/object:RI::MethodSummary 
  name: started?
- !ruby/object:RI::MethodSummary 
  name: starttls
- !ruby/object:RI::MethodSummary 
  name: starttls?
- !ruby/object:RI::MethodSummary 
  name: starttls_always?
- !ruby/object:RI::MethodSummary 
  name: starttls_auto?
- !ruby/object:RI::MethodSummary 
  name: tls?
- !ruby/object:RI::MethodSummary 
  name: tlsconnect
name: SMTP
superclass: Object


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Response
--
3 Mar 2024 10.50 PM
root / linksafe
0755
auth_capable%3f-i.yaml
0.184 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
auth_cram_md5-i.yaml
0.19 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
auth_login-i.yaml
0.185 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
auth_method-i.yaml
0.18 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
auth_plain-i.yaml
0.185 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
authenticate-i.yaml
0.218 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
base64_encode-i.yaml
0.183 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
capable%3f-i.yaml
0.173 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
capable_auth_types-i.yaml
0.334 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
capable_cram_md5_auth%3f-i.yaml
0.326 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
capable_login_auth%3f-i.yaml
0.317 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
capable_plain_auth%3f-i.yaml
0.317 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
capable_starttls%3f-i.yaml
0.312 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-SMTP.yaml
9.572 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
check_auth_args-i.yaml
0.195 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
check_auth_continue-i.yaml
0.194 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
check_auth_method-i.yaml
0.191 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
check_auth_response-i.yaml
0.194 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
check_continue-i.yaml
0.185 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
check_response-i.yaml
0.185 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cram_md5_response-i.yaml
0.261 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cram_secret-i.yaml
0.188 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
critical-i.yaml
0.187 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
data-i.yaml
0.869 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
debug_output%3d-i.yaml
0.626 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
default_port-c.yaml
0.245 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
default_ssl_context-c.yaml
0.19 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
default_submission_port-c.yaml
0.278 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
default_tls_port-c.yaml
0.255 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
disable_ssl-i.yaml
0.234 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
disable_starttls-i.yaml
0.335 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
disable_tls-i.yaml
0.36 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
do_finish-i.yaml
0.172 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
do_helo-i.yaml
0.179 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
do_start-i.yaml
0.204 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ehlo-i.yaml
0.167 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
enable_ssl-i.yaml
0.265 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
enable_starttls-i.yaml
0.349 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
enable_starttls_auto-i.yaml
0.376 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
enable_tls-i.yaml
0.485 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
esmtp%3d-i.yaml
0.463 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
esmtp%3f-i.yaml
0.311 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
esmtp-i.yaml
0.218 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
finish-i.yaml
0.282 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
get_response-i.yaml
0.185 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
getok-i.yaml
0.171 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
helo-i.yaml
0.167 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
inspect-i.yaml
0.256 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
logging-i.yaml
0.171 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
mailfrom-i.yaml
0.178 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
0.611 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new_internet_message_io-i.yaml
0.2 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
open_message_stream-i.yaml
2.482 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
quit-i.yaml
0.161 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rcptto-i.yaml
0.172 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rcptto_list-i.yaml
0.193 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
read_timeout%3d-i.yaml
0.282 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ready-i.yaml
0.25 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
recv_response-i.yaml
0.18 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
send_mail-i.yaml
0.259 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
send_message-i.yaml
1.739 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sendmail-i.yaml
0.257 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
set_debug_output-i.yaml
0.249 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ssl%3f-i.yaml
0.214 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
start-c.yaml
2.632 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
start-i.yaml
2.579 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
started%3f-i.yaml
0.255 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
starttls%3f-i.yaml
0.379 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
starttls-i.yaml
0.228 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
starttls_always%3f-i.yaml
0.254 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
starttls_auto%3f-i.yaml
0.281 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tls%3f-i.yaml
0.277 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tlsconnect-i.yaml
0.175 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF