I created a profile to access Exchange 2013 as detailed below:
With the profile on CDO I am unable to get notifications. It is possible to get the notifications to work on a machine with Outlook 2010 installed creating the same profile. The following are the tests I performed with MFC Mapi
When I used MFCMapi to attempt to retrieve notifications I get an error. Following is the test scenario
Tools -> Notifications -> Advise For Notifications
Error:
Code: MAPI_E_CALL_FAILED == 0x80004005
Function lpMDB->Advise( (ULONG)cbBin, lpEntryID, MyData.GetHex(1), (IMAPIAdviseSink *)m_lpBaseAdviseSink, &m_ulBaseAdviseConnection)
File BaseDialog.cpp
Line 1022
When I attempt to open a mailbox inbox I get the following.
0x1300 05:54:14.148PM 08-22-2014 0x00000001: CContentsTableListCtrl::NotificationOn registering table notification on 012AA008
0x1300 05:54:14.148PM 08-22-2014 0x00000040: Error:
Code: MAPI_E_NO_SUPPORT == 0x80040102
Function m_lpContentsTable->Advise( fnevTableModified, (IMAPIAdviseSink *)m_lpAdviseSink, &m_ulAdviseConnection)
File ContentsTableListCtrl.cpp
Line 1595
0x1300 05:54:14.148PM 08-22-2014 0x00000001: This table doesn't support notifications