从 Outlook2007 中使用时,使用 Redemption.dll 获取 Exchange 文件夹大小失败

发布于 2024-07-14 06:13:10 字数 562 浏览 7 评论 0原文

我在 Outook (2003/2007) 插件中使用 Redemption.dll(版本 4.7.0.1026-最新),我需要检索交换邮箱大小。 为了获取文件夹大小,我使用函数 get_Fields():

foreach (RDOStore store in rdoSession.Stores)
{
  int size = 0;
  if (store.StoreKind == TxStoreKind.skPrimaryExchangeMailbox)
  {
    // ****
    size = (int)store.get_Fields("http://schemas.microsoft.com/mapi/proptag/0x0E080003");
    mailBoxSize += size;
  }
}

当从 Outlook 2003 加载项调用时,此函数返回文件夹大小,但如果我从 Outlook 2007 加载项调用相同的函数,它将返回 null 对象。 Redemption.dll 是否完全不支持 Outlook 2007 或者它是一个不同的 API 调用? 如果有人有相关信息,请告诉我。

I am using Redemption.dll (Version 4.7.0.1026- latest) in an Outook (2003/2007) Add-in where i need to retrieve the exchange mail box size. To get the folder size, I am using the function get_Fields():

foreach (RDOStore store in rdoSession.Stores)
{
  int size = 0;
  if (store.StoreKind == TxStoreKind.skPrimaryExchangeMailbox)
  {
    // ****
    size = (int)store.get_Fields("http://schemas.microsoft.com/mapi/proptag/0x0E080003");
    mailBoxSize += size;
  }
}

This function returns folder size when called from Outlook 2003 Add-In, but if I call the same from Outlook 2007 Add-In, it returns null object. Does the Redemption.dll not support outlook 2007 completely or is it a different API call? Please let me know if any one has some info about it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文