This method create a new POPSession object but this will not open connection.
This method returns an array of POPSession::POPMail. This array is renewed when login.
A class of mail which exists on POP server.
This method fetches a mail and return it.
This method fetches only mail header.
This method fetches mail header and 'lines' lines body.
This method deletes mail.
size of mail(bytes)
true if mail was deleted
This class has no new methods. Only way of authetication is changed.
POP3 protocol class.
This method creates new POP3 object. 'socket' must be ProtocolSocket.
This method do POP authorization (no RPOP) In case of failed authorization, raises Protocol::ProtocolError exception.
a list of mails which existing on server. The list is an array like "array[ number ] = size".
ex:
The list from server is 1 2452 2 3355 4 9842 : then, an array is [ nil, 2452, 3355, nil, 9842, ... ]
This method finishes POP3 session.
This method reset all changes done in current session, by sending 'RSET' command.
This method gets all mail header and 'lines' lines body by sending 'TOP' command. 'num' is mail number.
warning: the TOP command is 'Optional' in RFC1939 (POP3)
This method gets a mail by 'RETR' command. 'num' is mail number.
This method deletes a mail on server by 'DELE'.
This method do authorization by sending 'APOP' command. If server is not APOP server, this raises INETprotocol::ProtoAuthError exception. On other errors, raises INETprotocol::ProtocolError.