Sign up for Office 365
Learn more about Office 365
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 for the feedback.
"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."