I want to login to my default mail inbox via:
MAPILogonEx(0, profileName, NULL, MAPI_LOGON_UI, &lpMAPISession)
where I defined profileName as:
LPTSTR profileName = _T("Default");
However this doesn't work and tells me that I supplied an invalid profilename.
What would be the correct value for the variable profileName to login to the default mail inbox?