use_ssl?

use_ssl?() Class Public methods returns true if ::ssl_params is set

verify

verify() Class Public methods returns whether verify_mode is enable from ::ssl_params

active?

active?() Instance Public methods Alias for: started?

apop?

apop?() Instance Public methods Does this instance use APOP authentication?

auth_only 2

auth_only(account, password) Instance Public methods 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.

delete_all 2

delete_all() Instance Public methods Deletes all messages on the server. If called with a block, yields each message in turn before deleting it. Example n = 1 pop.delete_all do |m| File.open("inbox/#{n}") do |f| f.write m.pop end n += 1 end This method raises a POPError if an error occurs.

disable_ssl 2

disable_ssl() Instance Public methods Disable SSL for all new instances.

each

each() Instance Public methods Alias for: each_mail

each_mail

each_mail() Instance Public methods Yields each message to the passed-in block in turn. Equivalent to: pop3.mails.each do |popmail| .... end This method raises a POPError if an error occurs. each

enable_ssl 2

Net::POP#enable_ssl(params = {}) Instance Public methods Enables SSL for this instance. Must be called before the connection is established to have any effect. +params+ is port to establish the SSL connection on; Defaults to 995. params (except :port) is passed to OpenSSL::SSLContext#set_params.