The default port for IMAP
connections, port 143
Similar to search()
, but returns unique identifiers.
Similar to sort()
, but returns an array of unique identifiers.
Leaves IDLE.
returns the port for POP3
Opens a POP3
session, attempts authentication, and quits.
This method raises POPAuthenticationError
if authentication fails.
POP3
Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword')
APOP
Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword', true)
Starts a pop3 session, attempts authentication, and quits. This method must not be called while POP3
session is opened. This method raises POPAuthenticationError
if authentication fails.
The default SMTP
port number, 25.
Private setter for the path of the URI::FTP
Main name of the switch.
see Enumerator
#with_index.
see Enumerator
#with_object.
Replaces this object with another object. Basically, calls Parent.replace_child
self
Sets the previous sibling of this child. This can be used to insert a child before some other child.
a = Element.new("a") b = a.add_element("b") c = Element.new("c") b.previous_sibling = c # => <a><b/><c/></a>
According to the XML
spec, a root node has no expanded name