question

ThopulouD-3208 avatar image
0 Votes"
ThopulouD-3208 asked thopulouduo-0854 edited

If user is in Cached Exchange mode and only downloads the last x days of emails, and they try to file old emails using our company application none of the old emails will file.

As a workaround if we set MDB_ONLINE in OpenMsgStore the old emails are fetched to the folder.

So my question here is will there be performance impact as the flags override the connection to the local message store and open the store on the remote server
as per this article:https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/mapi-constants

what Api does Microsoft use when we click "Click here to view more on the exchange"?

Some ideas insight on this will be quite helpful as we thought setting MDB_ONLINE always could impact the performance for multiple users

Thanks,
Thopulou from iManage

office-outlook-itprooffice-exchange-online-itprooffice-itprooffice-deployment
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LucasLiu-MSFT avatar image
0 Votes"
LucasLiu-MSFT answered thopulouduo-0854 edited

Hi @ThopulouD-3208 ,
According to research on the information you provided. I found that the issue is related to EWS-API. Here we mainly focus on general issues about Exchange server. So I could proivde limited help. For your question, the following is found in my research.

Click "Click here to view more on the exchange" to display old emails. This is due to the specific workflow designed by Exchange and Outlook.

When we set up the "Use Cached Exchange Mode". In the default configuration, depending on the size of we hard disk, Outlook synchronizes only 1, 3, or 12 months of email to we Offline Outlook Data (.ost) file from the Exchange server. If we Mail to keep offline setting is set to 12 months and we have email items in your Exchange mailbox that are older than 12 months, those items reside only in we mailbox on the server. Therefore, if we can't connect to the Exchange server, we may be unable to retrieve items outside the range that's specified by the Cached Exchange Mode synchronization setting until we reconnect with the server.

So when we want to view the earlier emails, we need to connect to the Exchange server to retrieve them. Or, if our hard disk has enough space, we can set the cached mail to "All".
For more information please refer to: Only a subset of your Exchange mailbox items are synchronized in Outlook

98910-image.png



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




image.png (37.9 KiB)
· 13
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@LucasLiu-MSFT thank you so much for the quick response. The information you provided is very helpful.


0 Votes 0 ·

@LucasLiu-MSFT I still have a question...
will the load to remote server be same when we call OpenMsgStore in Online mode and call OpenMsgStore in cache mode with flag MDB_ONLINE. I ask this question because we can open the remote server with this flag set.
Our customer has set the Cache mode to 1 month and they expect our Client application to fetch all the emails in the folder which are older than 1 months because they are seeing the message "Click here to view more on Microsoft Exchange"

Thanks,
Thopulou

0 Votes 0 ·

Hi @ThopulouD-3208 ,
According to the Microsoft's official article you provided, we could know that setting the MDB_ONLINE flag in the ulFlags parameter to override the connection to the local message store and open the store on the remote server. Since the connection with the local data file has been disconnected, all emails will be retrieved from the remote server. I think this is the same for Online mode and cache mode. So the load on the remote server is the same.
But for the daily use of your mailbox, Outlook will first retrieve the mail in the local data file, which will reduce the load of the Exchange server.

This is normal for your customers. As I mentioned above, according to your customer's settings, only nearly one month's mail is synchronized to the local Outlook data file. Earlier emails will need to click on "Click here to view more on the exchange" to connect to the Exchange server to retrieve them and view them.






0 Votes 0 ·

If you want to file email directly from local data files, then you need to set "Download email for the past" to "All".



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 Votes 0 ·
Show more comments