Hello,

I am trying to open another of my user mailbox from an exchange
administrator account, I have checked at the exchange that I have rights to
do so, I am pasting a code block, I hope it will make clear how I am editing
the fetchmail.c for myself to customize it to open another user mailbox.

... similar code above as of fetchma.c from /trunk/doc/examples

char testone[8] = "testone";

/* Open User Maibox  */
    mapi_object_init(&obj_store);
    retval = OpenUserMailbox(session, testone, &obj_store);
    MAPI_RETVAL_IF(retval, retval, NULL);

  /* Find Inbox default folder */
     retval = GetDefaultFolder(&obj_store, &id_inbox, olFolderInbox);
     MAPI_RETVAL_IF(retval, retval, NULL);

.. similar code below as of fetchmail.c from /trunk/doc/examples

I am not able to open the mailbox for my user "testone". I thank in advance
for any help provided.

Kind regards,
-- 
Muhammad Rameez Khan
Cell  -> 0046-73-7055073
Mail -> [email protected]
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to