No one has responded to this discussion for at least a year, so this information may be out of date. If you're looking for information about this topic, please search for a more recent discussion or post a new question.

Office365: IMAP does not sent EXPUNGE when I delete message

  • Hello all,

     

    I connect to IMAP server (outlook.office365.com 993) from my application and use IDLE for polling the server for changes to the mailbox. Server sends:

    1. EXISTS, RECENT when I receive new message

    2. FETCH (FLAGS (\Seen \Recent)) when mark message as read

     

    But I do not receive EXPUNGE when I delete message from mailbox. Could anybody help me?

     

    Thanks,

    Lyubov

  • From RFC:

    "The IDLE command is sent from the client to the server when the client is ready to accept unsolicited mailbox update messages.  The server requests a response to the IDLE command using the continuation ("+") response.  The IDLE command remains active until the client responds to the continuation, and as long as an IDLE command is active, the server is now free to send untagged EXISTS, EXPUNGE, and other messages at any time."

     

    Thanks,

    Lyubov