MAPI Developer: How to get file properties for .MSG file using MrMAPI tool?

Based on my earlier article, recently I got the below request from MAPIDevil (MAPI developer). Adding the detailed request:  In general, you can do this same stuff with either MFCMAPI utility or ended up by creating customer MAPI application. For this specific scenario again I tried my hands with MrMAPI command-line utility – it’s very…


MAPI: How to programmatically get autocomplete cache/entries for OWA 2013?

In continuation of my earlier post, I got few additional queries how to programmatically (using MAPI) get autocomplete cache/entries for OWA 2013. I used latest MFCMAPI as a code sample to achieve this. Download latest MFCMAPI from http://mfcmapi.codeplex.com Select “Session” Menu > Select “Logon” > select profile > Open the “store” > select  “Root Container”…

2

Office Developer: How to programmatically restrict or filter “To” property using Outlook Object Model?

In this post, we will see how to programmatically filter/restrict items “To” property. Let we take this scenario. In Outlook, we notice it contains 6 items “To” property containing “Deva G”:   Note:In specifying a filter in a Jet or DASL query, if you use a pair of single quotes to delimit a string that is…

1

Outlook : How to regenerate free/busy information using MFC MAPI?

Recently one of my customer reported that Outlook is not showing latest free/busy information for selected users. Initially they tried the following steps for the affected users: Exit Outlook Open Command prompt > Open Outlook with cleanfreebusy switch (outlook.exe /cleanfreebusy) It failed to resolve the issue.   During troubleshooting we noticed that these issue may occur…

5

Utility review: Calcheck – Outlook Calendar Checking tool

In this post, we will have a look at the Calendar Checking tool (Calcheck) for Outlook which is published recently by Randy. This program checks the Microsoft Outlook Calendar and items for problems or for potential problems. It’s is a command-line program that checks Outlook Calendars for problems. To use this tool, the Outlook calendar…


MFC MAPI: How to view GAL entries

You can download the latest MFC MAPI utility to view GAL entries, which uses the Messaging API to provide access to MAPI stores through a graphical user interface. Try the following steps: 1) Open MFC MAPI utility. Select Session menu and select “Logon and Display  Store table” ( I chosen for this session). It will…


Outlook 2007 : How to obtain Proxy addresses using Outlook Object Model (for an ExchangeUser Object)?

Earlier i had a requirement, how to obtain Proxy addresses for a specific user programmatically’; also they preferred to do this by using Outlook Object Model API. Please Note: The ExchangeUser object does not directly expose the proxy addresses for the user. However, you can use the PropertyAccessor object to obtain the MAPI property PR_EMS_AB_PROXY_ADDRESSES….


Outlook Custom form : Creating a message class when customizing form pages

In the Publish Form As dialog box, when you type a name in the Display name field, you will notice that the Form name field reflects the display name by default. You can leave the form name to be the same as the display name or you can change the form name. The display name…


Outlook 2007 MAPI reference : Required properties for all the messages

Please find the following table which described in the Outlook 2007 MAPI reference talks about properties that clients can expect to set or see supported on messages of all classes. Property Description PR_CREATION_TIME PidTagCreationTime Canonical Property (PidTagCreationTime) Set by message store providers on outgoing messages. PR_DISPLAY_BCC (PidTagDisplayBcc) PR_DISPLAY_CC (PidTagDisplayCc) PR_DISPLAY_TO (PidTagDisplayTo) Set by message store…

1

Behavior changes in Outlook : MAPI & Custom properties

Per the knowledgebase the implementation of MAPI in Outlook has been changed to control how custom properties can be created. To guarantee consistent use of custom properties, custom properties must already be used in the organization or on the Outlook client. As soon as custom properties are being used or are registered, the custom properties…

1

Gotcha : Appointment created with WebDAV is not getting displayed in Outlook?

Issue: One of my customer updated me that he created an appointment by using WebDAV. But the user has the following issues when he tries to view the mailbox owner’s calendar: The appointment does not appear when Microsoft Outlook is in the Day, Week, or Month view. The appointment appears correctly when the appointments are…

1

Blogpost’s related to MAPI docs

I read couple of related blogpost’s related to MAPI documentation. You can start reading from Sgriffin’s detailed information regarding the MAPI documentation. Also i found couple of related blogpost’s from mstehle and Angela. You can end up by reading the article posted by Thom Randolp, which talks about the MAPI documentation. Per him, "… based…


Gotcha – PermanentURL & WebDAV Series # 1

Take this scenario. One of my customer wanted to updated the contact fields using PR_ENTRY_ID and other fields. He can able to obtain the other all fields and getting issue with this property whenever he retrieve using WebDAV·  He gets garbage values at one client and another client it leads him to Exception. In this…

4