On Mon, 2009-01-12 at 20:28 +0300, Евгений Степанищев wrote:
 
> > It seems, I have no access to global_mapi_ctx from ctypes.

Hello,

I have - not yet committed - added functions which will let you set the
dump_data and debuglevel without having to access global_mapi_ctx at any
time (and which I've used to debug your script).


> I continue the researches. I have written the small script illustrating 
> a problem (look attached file). It is necessary Python 2.5 or Python 2.4 
> with the module ctypes.
> 
> After run I receive the following:
> 
> Fid: 3055410872194170881
>     OpenFolder               : MAPI_E_NOT_FOUND (0x8004010F)
> 
> The problem in OpenFolder or OpenUserMailbox seems. It seems, that it do 
> not work together.

I have run (with a few modifications) you test locally and I also have
OpenFolder returning MAPI_E_NOT_FOUND when user's permissions (the one
used in the profile) are set to none.

As soon as I change permissions from let's say None to Reviewer on Inbox
folder and use olFolderInbox, OpenFolder returns MAPI_E_SUCCESS.

Sounds to me like a misconfiguration within other user's mailbox.

Cheers,
Julien.

-- 
Julien Kerihuel
[email protected]
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to