|
__init__(self,
servername,
username,
password,
ssl=True,
port=None)
Initialize the IMAP Server, connect and log in. |
source code
|
|
|
clone(self)
Return a new instance of ImapServer that points to the same server,
in a connected and authenticated state. |
source code
|
|
|
|
|
disconnect(self)
Disconnect from the server If looged in, log out |
source code
|
|
|
|
|
reconnect(self)
Close and then reopen the connection to the server |
source code
|
|
|
idle(self,
timeout=5)
Put server into IDLE mode until server notifies some change, or
'timeout' (secs) occurs (default: 29 minutes), or another IMAP4
command is scheduled. |
source code
|
|
|
|
|
|
|
subscribe(self,
name)
Subscribe to new mailbox |
source code
|
|
|
unsubscribe(self,
name)
Unsubscribe from old mailbox |
source code
|
|
|
|
|
append(self,
mailbox,
flags,
date_time,
messagestr)
Append message to named mailbox. |
source code
|
|
|
uid(command,
arg,
...)
Execute command with messages identified by UID. |
source code
|
|
|
|
|
|
|
|
|
list(self)
Return list mailbox names, or None if the server does not send an
'OK' reply. |
source code
|
|
|
|
|
__eq__(self,
other)
Equality test: servers are equal if they are equal in servername,
username, password, port, and ssl. |
source code
|
|
|
__ne__(self,
other)
Inequality test: servers are unequal if they are not equal |
source code
|
|