Part of twisted.mail.pop3 View Source View In Hierarchy
|Instance Variable||linecount||The number of full lines of the message body scanned. (type:
|Instance Variable||headers||An indication of which part of the message is being scanned.
|Instance Variable||done||A flag indicating when the desired part of the message has been scanned. (type:
|Instance Variable||buf||The portion of the message body that has been scanned, up to
|Method||read||Scan bytes from the file.|
Truefor the header and
Falsefor the body. (type:
|Parameters||f||A file containing a mail message. (type: file-like object)|
|n||The number of lines of the message body to retrieve. (type: |
|Parameters||bytes||The number of bytes to read from the file. (type: |
|Returns||Each portion of the header as it is scanned. Then, full lines of the
message body as they are scanned. When more than one line of the header
and/or body has been scanned, the result is the concatenation of the lines.
When the scan results in no full lines, the empty string is returned. (type: |