Module t.m.pop3

Part of twisted.mail View Source

Post-office Protocol version 3
AuthorsGlyph Lefkowitz
Jp Calderone
Line # Kind Name Docs
37 Class APOPCredentials Undocumented
100 Class POP3Error Undocumented
152 Function iterateLineGenerator Hook the given protocol instance up to the given iterator with an
166 Function successResponse Format the given object as a positive response.
175 Function formatStatResponse Format the list of message sizes appropriately for a STAT response.
193 Function formatListLines Format a list of message sizes appropriately for the lines of a LIST
208 Function formatListResponse Format a list of message sizes appropriately for a complete LIST response.
222 Function formatUIDListLines Format the list of message sizes appropriately for the lines of a UIDL
237 Function formatUIDListResponse Format a list of message sizes appropriately for a complete UIDL response.
251 Class POP3 POP3 server protocol implementation.
826 Interface IServerFactory Interface for querying additional parameters of this POP3 server.
860 Interface IMailbox
944 Class Mailbox Undocumented
969 Class POP3Client Undocumented
107 Class AdvancedPOP3Client POP3 client protocol implementation class
25 Class POP3ClientError Base class for all exceptions raised by POP3Client.
29 Class InsecureAuthenticationDisallowed Secure authentication was required but no mechanism could be found.
45 Class ServerErrorResponse The server returned an error response to a request.
52 Class LineTooLong The server sent an extremely long line.
51 Class _HeadersPlusNLines Undocumented
93 Class _POP3MessageDeleted Internal control-flow exception. Indicates the file of a deleted message
105 Class _IteratorBuffer No class docstring; 1/3 methods documented
def iterateLineGenerator(proto, gen): (source)
Hook the given protocol instance up to the given iterator with an _IteratorBuffer and schedule the result to be exhausted via the protocol.
Parametersproto (type: POP3 )
gen (type: iterator )
Returns (type: twisted.internet.defer.Deferred )
def successResponse(response): (source)
Format the given object as a positive response.
def formatStatResponse(msgs): (source)

Format the list of message sizes appropriately for a STAT response.

Yields None until it finishes computing a result, then yields a str instance that is suitable for use as a response to the STAT command. Intended to be used with a twisted.internet.task.Cooperator.
def formatListLines(msgs): (source)

Format a list of message sizes appropriately for the lines of a LIST response.

Yields str instances formatted appropriately for use as lines in the response to the LIST command. Does not include the trailing '.'.
def formatListResponse(msgs): (source)

Format a list of message sizes appropriately for a complete LIST response.

Yields str instances formatted appropriately for use as a LIST command response.
def formatUIDListLines(msgs, getUidl): (source)

Format the list of message sizes appropriately for the lines of a UIDL response.

Yields str instances formatted appropriately for use as lines in the response to the UIDL command. Does not include the trailing '.'.
def formatUIDListResponse(msgs, getUidl): (source)

Format a list of message sizes appropriately for a complete UIDL response.

Yields str instances formatted appropriately for use as a UIDL command response.
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.