Last active
May 19, 2016 02:47
-
-
Save kkm/7d2e316444d49bfa64e267d5419442de to your computer and use it in GitHub Desktop.
Outlook Autocomplete Raw and Sender
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Outlook.Accounts accounts = Application.Session.Accounts; | |
foreach (Outlook.Account account in accounts) { | |
Debug.WriteLine("Sender: " + account.SmtpAddress); | |
Outlook.StorageItem storage = account.DeliveryStore.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox).GetStorage("IPM.Configuration.Autocomplete", Outlook.OlStorageIdentifierType.olIdentifyByMessageClass); | |
Outlook.PropertyAccessor pa = storage.PropertyAccessor; | |
byte[] raw_autocomplete_bytes = (byte[]) pa.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x7C090102"); | |
Debug.WriteLine("Raw Bytes from Autocomplete: " + raw_autocomplete_bytes.Length); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment