Hi,
I have been struggling with this for a few days now.
i have pc where no outlook is installed, where i installed the MAPI CDO Runtime may update (version 6.5.8320.0). i checked in the registry that the default mail provider was set to exchangemapi (HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail) .. it is.
I downloaded the lastest version of mfcmapi, which i believe was the version of december 2013
but i can't seem to create a profile for office 365 in it. I followed http://blogs.msdn.com/b/dvespa/archive/2013/05/21/how-to-mfcmapi-create-mapi-profile-exchange-2013.aspx and then i changed the properties to what was proposed here http://blogs.msdn.com/b/dvespa/archive/2013/07/15/create-profile-connect-mfcmapi-to-office-365.aspx
That did not work, i keep getting an error one ore more properties are invalid when i try to use that created profile to connect to office 365 (from within mfcmapi).
I also changed some of those proposed values to what autodiscover was telling me like setting PR_PROFILE_RPC_AUTH_PACKAGE to RPC_C_AUTHN_ANONYMOUS which should be the value $8000F001 instead of RPC_C_AUTH_NONE (at least i think so)
I builded a simple program to encrypt my password using CryptProtectData and entered the value using mfcmapi in PR_PROFILE_AUTH_PASSWORD as was suggested in the last page.
but nothing seems to work, i keep getting wrong configured errors and i'm totally clueless atm. This is supposed to work right on a pc where outlook is not installed ?
I also tried this on another pc where outlook 2010 is installed and i am able to create the profile there and connect without a problem given that i enter the logon credentials once and let them be remember (they get stored / cached in the windows key store, like when using CREDWRITE function) from then on i can connect without a problem.
also when calling configuremsgservice on the EMS service i created for a new profile in mfcmapi and let the UI show i can see on the pc where outlook is installed in the UI options to enter proxy information however when i do the same thing on the pc where only the mapi cdo runtime is installed i do not see any UI option to configure the proxy server information ... is this normal ?
Hopefully someone can shed some light on what i'm doing wrong or might be wrong.
Thanks in advance
Willems Davy