inspect

inspect() Instance Public methods Provide human-readable stringification of class state.

finish

finish() Instance Public methods Finishes a POP3 session and closes TCP connection.

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.

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

each

each() Instance Public methods Alias for: each_mail

disable_ssl 2

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

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.

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.

apop?

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

active?

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