This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: API enhancement: poplib.MailReader()
Type: enhancement Stage:
Components: email, Library (Lib) Versions: Python 3.3
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: barry, htgoebel, r.david.murray, rhettinger
Priority: low Keywords:

Created on 2003-05-20 14:35 by htgoebel, last changed 2022-04-10 16:08 by admin.

Messages (2)
msg53895 - (view) Author: Hartmut Goebel (htgoebel) Date: 2003-05-20 14:35
When retrieving POP3 mails using poplib, messages are
returned as
list of lines. Converting them to a email.Messages requires
concatinating them into a single string.

I suggest writing a little file-like class wrapper
which may be used for
parsing these type of messages without concatinating
the lines first.
This wrapper may be exposed in the poplib module.

I suggest calling this class 'MailReader', but I would
appreciate better naeming :-)

If this is of interest, I may volunteer writing this

See also:
Feature Requests item #736494, was opened at 2003-05-12
Message generated for change (Comment added) made by
You can respond by visiting:
msg53896 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-01-01 06:50
Logged In: YES 

Perhaps the adaptor should be part of the email package
rather than a part of poplib.
Date User Action Args
2022-04-10 16:08:50adminsetgithub: 38530
2012-05-16 01:36:15r.david.murraysetassignee: r.david.murray ->
components: + email
2010-12-27 18:20:18r.david.murraysetnosy: barry, rhettinger, htgoebel, r.david.murray
versions: + Python 3.3, - Python 3.2
2010-08-07 21:30:46terry.reedysetversions: + Python 3.2, - Python 2.6
2010-05-05 16:36:24r.david.murraysetassignee: r.david.murray

nosy: + r.david.murray
2010-05-05 13:54:05barrysetassignee: barry -> (no value)
2009-02-12 03:14:22ajaksu2setpriority: normal -> low
versions: + Python 2.6
2003-05-20 14:35:26htgoebelcreate