CDO and mapi.session

CDO and mapi.session

am 24.10.2007 13:25:39 von OSI Mik

Hi,
Sorry for this question but I can't find information about it.

I try to connect to Exchange by MAPI or CDO to create folder in mailbox of
some user.
I found code like that :

Dim objSession As MAPI.Session
Set objSession As New MAPI.Session

But the MAPI is not find. I don't know which reference to add. (I have
Windows XP and Office 2007)
The Microsoft CDO for windows 2000 is already add.

Where is the reference to Mapi ?
It's the good way to add folder to any mailbox in one logon ?
(I search an example of code, if possible.)

Thank you for your help,
Osi Mik