Using EWS to migrate emails cause problem in conversation view


  • Hi,

    Currently I'm developing a tool to migrate emails from one mailbox to the other. The problem here is that after migrating, all the sent items appear on the top of the conversation. 

    I notice that the dates in the right column of sent item are set with the migration date. But the date appears inside the messages are correct/

    Moreover, when I switch to Message view mode, the date appear in the right column is the same with the date appear inside the message. 

    Do you guys have any idea about this issue? 

    I use Exchange API to download the messages from old server and update them to destination server. 

    Im sorry I cannot post the pictures since my account is new. But I will try to clarify if there is any help :) P/s: Im migrating from Site Mailbox (Team site template) to a Shared Mailbox. If that can help :)

    Tuesday, May 29, 2018 1:51 AM

All replies

  • Found an answer, I have to set  PR_MESSAGE_DELIVERY_TIME and PR_CLIENT_SUBMIT_TIME in order to help exchange to keep the sent time in new mailbox from old one. 
    Tuesday, May 29, 2018 4:29 AM