简体   繁体   English

Email 来自 Bytes 的列表

[英]Email list from Bytes

I want extract list all autocomplete email addresses in outlook 2016 (office 365) using C#. I am using following code:我想使用 C# 提取 outlook 2016(office 365)中的所有自动完成 email 地址。我正在使用以下代码:

    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.现在如何从字节中提取 email。

Thanks谢谢

The binary format is described in the document . 文件中描述了二进制格式。

Also, you may find similar posts here:另外,您可能会在这里找到类似的帖子:

If using Redemption is an option, it exposes nicknames through the RDOStore / RDOSession.Nicknames collection.如果使用Redemption是一个选项,它会通过RDOStore / RDOSession.Nicknames集合公开昵称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM