started?

started?() Instance Public methods true if the POP3 session has started. active?

start 2

start(account, password) Instance Public methods Starts a POP3 session. When called with block, gives a POP3 object to the block and closes the session after block call finishes. This method raises a POPAuthenticationError if authentication fails.

set_debug_output

set_debug_output(arg) Instance Public methods WARNING: This method causes a serious security hole. Use this method only for debugging. Set an output stream for debugging. Example pop = Net::POP.new(addr, port) pop.set_debug_output $stderr pop.start(account, passwd) do |pop| .... end

reset

reset() Instance Public methods Resets the session. This clears all âdeletedâ marks from messages. This method raises a POPError if an error occurs.

read_timeout=

read_timeout=(sec) Instance Public methods Set the read timeout.

port

port() Instance Public methods The port number to connect to.

n_mails

n_mails() Instance Public methods Returns the number of messages on the POP server.

n_bytes

n_bytes() Instance Public methods Returns the total size in bytes of all the messages on the POP server.

mails

mails() Instance Public methods Returns an array of Net::POPMail objects, representing all the messages on the server. This array is renewed when the session restarts; otherwise, it is fetched from the server the first time this method is called (directly or indirectly) and cached. This method raises a POPError if an error occurs.

logging

logging(msg) Instance Public methods deguging output for msg