Skip to content

IMAP Error: EXPUNGE not allowed in session state when creating folder #495

@malikust

Description

@malikust

Description:

When trying to use the EXPUNGE command after creating folders with the IMAP server, we receive the following error:

BAD [ALERT] i.<unique_id> EXPUNGE not allowed in session state

The EXPUNGE command is issued immediately after creating a folder.
The IMAP server responds with the error, indicating that EXPUNGE is not allowed in the current session state.

Request:

Could you please verify if EXPUNGE is supported in this session context?
If EXPUNGE should be used, are there specific conditions or sequence requirements to apply it correctly?

Thank you for your assistance.

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