字节的电子邮件列表 [英] Email list from Bytes

查看:127
本文介绍了字节的电子邮件列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想提取使用C#列出Outlook 2016(办公室365)中的所有自动完成的电子邮件地址.我正在使用以下代码:

I want extract list all autocomplete email addresses in outlook 2016 (office 365) using C#. I am using following code:

    NameSpace olNS = this.Application.GetNamespace("MAPI");
    MAPIFolder inboxFolder = olNS.GetDefaultFolder(OlDefaultFolders.olFolderInbox);
    StorageItem storage = inboxFolder.GetStorage("IPM.Configuration.Autocomplete", OlStorageIdentifierType.olIdentifyByMessageClass);
    PropertyAccessor propertyAcc = storage.PropertyAccessor;
    byte[] bytes = (byte[])propertyAcc.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x7C090102");

现在如何从字节中提取电子邮件.

Now how to extract email from bytes.

谢谢

推荐答案

文档.

此外,您可能会在这里找到类似的帖子:

Also, you may find similar posts here:

  • Get autocomplete address list of Outlook in VBA
  • Outlook 2010 autocomplete stream ( cached contacts)

如果选择使用Redemption,它将通过RDOStore/ RDOSession公开昵称昵称集合.

If using Redemption is an option, it exposes nicknames through the RDOStore / RDOSession.Nicknames collection.

这篇关于字节的电子邮件列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆