[英]Outlook 2016 Interop/C#: How to programmatically get around “Click here to view more on Microsoft Exchange”
I have a program that needs to access all the emails in a users mailbox. 我有一个程序需要访问用户邮箱中的所有电子邮件。 However, unless the "Click here to view more..." link at the bottom of each mailbox is clicked, some messages will be skipped.
但是,除非单击每个邮箱底部的“单击此处查看更多...”链接,否则将跳过某些消息。 Is there a way around this?
有没有解决的办法? I'm using C# and Outlook.Interop.
我正在使用C#和Outlook.Interop。 Thanks in advance.
提前致谢。
This happens because the OST file will only store the specified number of days/months worth of messages. 发生这种情况是因为OST文件将仅存储指定天数/月数的消息。 You can either
你可以
PR_ENTRYID
property, right click, select IMAPISesion::OpenEntry
, make sure MAPI_NO_CACHE bit is checked. PR_ENTRYID
属性,右键单击,选择IMAPISesion::OpenEntry
,确保已选中MAPI_NO_CACHE位。 When using Redemption, call RDOSession . GetFolderFromID()
and specify the MAPI_NO_CACHE
flag. GetFolderFromID()
并指定MAPI_NO_CACHE
标志。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.