Skip to content

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

@rezemika

Description

@rezemika

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions