Set
the default value for the :id_conv option.
See new(). The initial default value is a DRbIdConv
instance.
The default port to use for HTTP
requests; defaults to 80.
The default port to use for HTTPS requests; defaults to 443.
The default port for IMAPS connections, port 993
Adds a response handler. For example, to detect when the server sends a new EXISTS response (which normally indicates new messages being added to the mailbox), add the following handler after selecting the mailbox:
imap.add_response_handler { |resp| if resp.kind_of?(Net::IMAP::UntaggedResponse) and resp.name == "EXISTS" puts "Mailbox now has #{resp.data} messages" end }
Removes the response handler.
The default port for POP3
connections, port 110
The default port for POP3S connections, port 995
The default SMTPS port number, 465.
true if server advertises AUTH PLAIN. You cannot get valid value before opening SMTP
session.
true if server advertises AUTH LOGIN. You cannot get valid value before opening SMTP
session.
Returns supported authentication methods on this server. You cannot get valid value before opening SMTP
session.
CRAM-MD5: [RFC2195]