Extended Mapi - Repeated OpenMsgStore increases profile size
-
Dear all, I'm on a tool that has to connect to many different mailboxes in a organization. All works well. (Extended Mapi) I'm using therefore a profile to create a session. But every mailbox that will be programmatically connected also increases the size of that profile. The connection data of every connection is persisted in the profile. :( In result the process slows down with every mailbox. Does anyone know an opportunity to make a profile "readonly" - say with a MAPI_DONT_CHANGE_PROFILE during MAPIInitialize? Or is there a way to connect to Mailboxes using Extended Mapi without using a profile? How do I the work : > MAPIInitialize with MAPI_INIT_VERSION / MAPI_NT_SERVICE > MAPILogonEx with MAPI_LOGON_UI | MAPI_NEW_SESSION | MAPI_EXTENDED | MAPI_NO_MAIL > OpenMsgStore for private store > createStoreEntryID & OpenMsgStore for each mailbox > and of course storeLogoff for each mailbox after the work please excuse my worst english (I'Am german) thx in advance & Best regards