Skip to content

Obtaining Mailfolders error #6

@SerbanTudor04

Description

@SerbanTudor04

I'm trying to connect on a private IMAP server.

# initiate the connection
self.imap_connection=EmailBox(self.config.imap_host, self.config.imap_port,self.config.imap_username,self.config.imap_password)
# then i run the following code
inbox=self.imap_connection.mailfolders # this line throws error
print(inbox)

Error obtained
AttributeError: 'NoneType' object has no attribute 'groupdict'. Did you mean: '_mailfolders'?

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