Changeset 103:5f2a22f07e64
- Timestamp:
- 14/11/09 16:12:59 (2 years ago)
- Author:
- Menno Smits <menno@…>
- Branch:
- default
- Message:
-
initial version of replacement response parser - somewhat working
- Location:
- imapclient
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r78
|
r103
|
|
| 3 | 3 | |
| 4 | 4 | from imapclient import * |
| | 5 | from response_parser import * |
| 5 | 6 | |
| 6 | 7 | |
-
|
r101
|
r103
|
|
| 450 | 450 | |
| 451 | 451 | def altfetch(self, messages, parts): |
| | 452 | import pdb; pdb.set_trace() |
| 452 | 453 | if not messages: |
| 453 | 454 | return {} |
| … |
… |
|
| 842 | 843 | return dt.strftime("%d-%b-%Y %H:%M:%S %z") |
| 843 | 844 | |
| 844 | | i = IMAPClient('127.0.0.1') |
| 845 | | i.login('mailtest', 'foobar') |
| 846 | | i.select_folder('INBOX') |
| 847 | | i._imap.debug = 5 |
| 848 | | print i.altfetch(1, ['FLAGS', 'RFC822']) |
| 849 | | |
| | 845 | |