Maximum number of times to retry an idempotent request in case of Net::ReadTimeout
, IOError
, EOFError
, Errno::ECONNRESET
, Errno::ECONNABORTED
, Errno::EPIPE, OpenSSL::SSL::SSLError
, Timeout::Error
. Should be a non-negative integer number. Zero means no retries. The default value is 1.
Adds an authenticator for Net::IMAP#authenticate
. auth_type
is the type of authentication this authenticator supports (for instance, “LOGIN”). The authenticator
is an object which defines a process() method to handle authentication with the server. See Net::IMAP::LoginAuthenticator
, Net::IMAP::CramMD5Authenticator
, and Net::IMAP::DigestMD5Authenticator
for examples.
If auth_type
refers to an existing authenticator, it will be replaced by the new one.
Similar to search()
, but returns unique identifiers.
Validates typecode v
, returns true
or false
.
Private setter for the path of the URI::FTP
.
Iterates over each option, passing the option to the block
.