none
The operation cannot be performed because the message has been changed. RRS feed

  • Question

  • Hi,

    I created an additional component vsto for Outlook 2010 in C#.

    This add-in adds to the e-mail user properties and categories.


    However, there is a problem with the IMAP account.

    When I open a message in a new window that requires a read receipt, then I will add categories, user properties and try to save the mail, Outlook returns an error:

    "The operation cannot be performed because the message has been changed."

    I learned that the problem is related to IMAP synchronization.

    https://support.microsoft.com/en-us/help/3064609/0x80040109-error-when-outlook-object-model-is-used-with-an-imap-accoun

    "To work around this issue, close all items after you run the code to add a UserProperty object to an email message. Or, run the code only one time for the same email message."

    I save a message only once. I have a problem only with messages that requires a read receipt.

    There is some way to get around this problem programmatically without deselecting messages?

    If not, is it possible to check if the opened message needs to be synchronized and can't be saved?

    Damian

    Monday, October 29, 2018 10:42 PM