Waits up to the continue timeout for a response from the server provided we’re speaking HTTP 1.1 and are expecting a 100-continue response.
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 }
The default port for POP3
connections, port 110
The default port for POP3S connections, port 995
Constructs proper parameters from arguments
The default mail submission port number, 587.
The default SMTPS port number, 465.
CRAM-MD5: [RFC2195]