Comments (4)
Original comment by Menno Smits (Bitbucket: mjs0):
select_folder updated in 4319998fc9b5
from imapclient.
Original comment by Mark Eichin (Bitbucket: eichin):
As a motivational example - I was digging into why list_folders
returns [Gmail]
but select_folder
can't select it (though list_sub_folders
works fine on the same string) I found that if I server._imap.debug=5
and ran server.list_folders()
it gets back
29:32.75 < * LIST (\Noselect \HasChildren) "/" "[Gmail]"
so either \Noselect
should be exposed somehow (so the caller can actually not select it, instead of catching the exception), or perhaps _proc_folder_list
should actually filter on it outright.
I don't know what more-complicated folder hierarchies look like, though; perhaps os.walk
is a better (more pythonic) model for the interface here?
from imapclient.
Original comment by Menno Smits (Bitbucket: mjs0):
Replying to Issue #24:
Do this as a keyword arg to list_folders?
Create a select() and a list() which provide access to all available information.
list_folders() and select_folder() can call these.
from imapclient.
Original comment by Menno Smits (Bitbucket: mjs0):
This applies to both list_folders() and select().
from imapclient.
Related Issues (20)
- ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1129) HOT 3
- Add Type Annotations HOT 10
- imapclient.exceptions.ProtocolError: Server replied with a response that violates the IMAP protocol HOT 4
- Search results
- ssl.SSLError: Cannot create a client socket with a PROTOCOL_TLS_SERVER context HOT 5
- Modify header field or subject
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for ‘***.com’. (_ssl.c:1108) HOT 1
- "client.search(['UID', f'99:*'])" does not return the very last message HOT 1
- extracting message size from BODYSTRUCTURE - extra layer of brackets in result HOT 1
- Drop support for Python 3.4 HOT 8
- https://imapclient.readthedocs.io/ goes to old docs HOT 1
- ENVELOPE datetime is not aware HOT 4
- just only get a month email(unread) HOT 1
- how to search and fetch with some specific criteria? HOT 4
- expunge func assumes UIDPLUS capability and uses UID EXPUNGE in error HOT 3
- More meaningful `license` field in setup.py?
- IMAP4_TLS.open() error HOT 4
- How print the raw imap messege sent?
- How to preserve the unread status? HOT 3
- Replace deprecated imp module with importlib HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imapclient.