Session initialization options. More...
Functions | |
| _PUBLIC_ enum MAPISTATUS | OpenMsgStore (struct mapi_session *session, mapi_object_t *obj_store) |
| _PUBLIC_ enum MAPISTATUS | OpenPublicFolder (struct mapi_session *session, mapi_object_t *obj_store) |
| _PUBLIC_ enum MAPISTATUS | OpenUserMailbox (struct mapi_session *session, const char *username, mapi_object_t *obj_store) |
Session initialization options.
| _PUBLIC_ enum MAPISTATUS OpenMsgStore | ( | struct mapi_session * | session, |
| mapi_object_t * | obj_store | ||
| ) |
Open the Message Store
This function opens the main message store. This allows access to the normal user folders.
| session | pointer to the MAPI session context |
| obj_store | the result of opening the store |
References GetLastError(), OPENCHANGE_RETVAL_IF, OpenUserMailbox(), mapi_session::profile, and mapi_profile::username.
| _PUBLIC_ enum MAPISTATUS OpenPublicFolder | ( | struct mapi_session * | session, |
| mapi_object_t * | obj_store | ||
| ) |
Open the Public Folder store
This function opens the public folder store. This allows access to the public folders.
| obj_store | the result of opening the store |
| session | pointer to the MAPI session context |
References emsmdb_transaction_wrapper(), GetNewLogonId(), OPENCHANGE_RETVAL_IF, and mapi_session::profile.
| _PUBLIC_ enum MAPISTATUS OpenUserMailbox | ( | struct mapi_session * | session, |
| const char * | username, | ||
| mapi_object_t * | obj_store | ||
| ) |
Open another user mailbox
This function opens the main message store. This allows access to the normal user folders.
| session | pointer to the MAPI session context |
| username | name of the user's mailbox to open |
| obj_store | the result of opening the store |
References emsmdb_transaction_wrapper(), GetNewLogonId(), mapi_profile::mailbox, OPENCHANGE_RETVAL_IF, mapi_profile::org, mapi_profile::ou, and mapi_session::profile.
Referenced by OpenMsgStore().
|
|
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |