Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module 'imapclient' has no attribute 'SENT' #357

Closed
rezemika opened this issue Aug 15, 2018 · 1 comment
Closed

Module 'imapclient' has no attribute 'SENT' #357

rezemika opened this issue Aug 15, 2018 · 1 comment

Comments

@rezemika
Copy link

rezemika commented Aug 15, 2018

Hi! In the documentation, it is said (here) that it is possible to get the names of the special folders with the find_special_folder() method. The example shows this method used with the argument imapclient.SENT. But when I try on my computer, I get an AttributeError.

Edit: My bad, the documentation link in the README (https://imapclient.readthedocs.io/) points to the master one and the one of 2.0.0. Do you know when the next version will be released? Sorry for the inconvenience.

I also have the same exception when I try to use this method.

>>> imapclient.IMAPClient.find_special_folder()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: type object 'IMAPClient' has no attribute 'find_special_folder'
>>> imapclient.SENT
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'imapclient' has no attribute 'SENT'
@NicolasLM
Copy link
Collaborator

As you mentioned in the edit, it is because you were viewing the documentation for master. I think we should make a release of this code soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants