Office365: IMAP does not sent EXPUNGE when I delete message

  • This post has 1 Reply |
  • 1 Follower
  • 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

Page 1 of 1 (2 items)