POP3 client class over SSL connection
hostname - the hostname of the pop3 over ssl server port - port number keyfile - PEM formatted file that countains your private key certfile - PEM formatted certificate chain file
See the methods of the parent class POP3 for more documentation.
There are no implemented interfaces.
timestamp
(type: SRE_Pattern
)
<_sre.SRE_Pattern object at 0x406fd620>
apop(user, secret)
Authorisation
Args: user - mailbox user; secret - secret shared between client and server.
NB: mailbox is locked by server from here to quit()
dele(which)
Delete message number which
.
Result is response
.
getwelcome()
list(which=None)
Request listing, return result.
Result without a message number argument is in form
[response
, [mesg_num octets
, ...], octets].
Result when a message number argument is given is a single response: the "scan listing" for that message.
noop()
Does nothing.
One supposes the response indicates the server is alive.
pass_(pswd)
Send password, return response
(response includes message count, mailbox size).
NB: mailbox is locked by server from here to quit()
quit()
Signoff: commit changes on server, unlock mailbox, close connection.
retr(which)
Retrieve whole message number which
.
Result is in form [response
, [line
, ...], octets].
rpop(user)
Not sure what this does.
rset()
Not sure what this does.
set_debuglevel(level)
stat()
Get mailbox status.
Result is tuple of 2 ints (message count, mailbox size)
top(which, howmuch)
Retrieve message header of message number which
and first howmuch
lines of message body.
Result is in form [response
, [line
, ...], octets].
uidl(which=None)
Return message digest (unique id) list.
If which
, result contains unique id for that message
in the form response mesgnum uid
, otherwise result is
the list [response
, [mesgnum uid
, ...], octets]
user(user)
Send user name, return response
(should indicate password required).
There are no known subclasses.