Sends the GETQUOTA command along with specified mailbox
. If this mailbox exists, then an array containing a Net::IMAP::MailboxQuota
object is returned. This command is generally only available to server admin.
Send the GETACL command along with a specified mailbox
. If this mailbox exists, an array containing objects of Net::IMAP::MailboxACLItem
will be returned.
Sends a CLOSE command to close the currently selected mailbox. The CLOSE command permanently removes from the mailbox all messages that have the Deleted flag set.
Sends a EXPUNGE command to permanently remove from the currently selected mailbox all messages that have the Deleted flag set.
returns whether verify_mode is enable from POP3.ssl_params
returns the :ca_file or :ca_path from POP3.ssl_params
Fetches the message header.
The optional dest
argument is obsolete.
This method raises a POPError
if an error occurs.
Pushes back erred argument(s) to argv
.
Default stringizing method to emit standard error message.
Gets the IP address of name
from the hosts file.
Gets all IP addresses for name
from the hosts file.
Gets the hostname of address
from the hosts file.
Gets all hostnames for address
from the hosts file.
Closes the DNS
resolver.
Gets the IP address of name
from the DNS
resolver.
name
can be a Resolv::DNS::Name
or a String
. Retrieved address will be a Resolv::IPv4
or Resolv::IPv6
Gets all IP addresses for name
from the DNS
resolver.
name
can be a Resolv::DNS::Name
or a String
. Retrieved addresses will be a Resolv::IPv4
or Resolv::IPv6
Gets the hostname for address
from the DNS
resolver.
address
must be a Resolv::IPv4
, Resolv::IPv6
or a String
. Retrieved name will be a Resolv::DNS::Name
.
Gets all hostnames for address
from the DNS
resolver.
address
must be a Resolv::IPv4
, Resolv::IPv6
or a String
. Retrieved names will be Resolv::DNS::Name
instances.
Look up the typeclass
DNS
resource of name
.
name
must be a Resolv::DNS::Name
or a String
.
typeclass
should be one of the following:
Resolv::DNS::Resource::IN::ANY
Resolv::DNS::Resource::IN::CNAME
Resolv::DNS::Resource::IN::HINFO
Resolv::DNS::Resource::IN::MINFO
Resolv::DNS::Resource::IN::MX
Resolv::DNS::Resource::IN::NS
Resolv::DNS::Resource::IN::PTR
Resolv::DNS::Resource::IN::SOA
Resolv::DNS::Resource::IN::TXT
Returned resource is represented as a Resolv::DNS::Resource
instance, i.e. Resolv::DNS::Resource::IN::A
.