View Single Post
  #1  
Old March 8th 10, 10:02 AM posted to microsoft.public.outlook.program_vba
entvex
external usenet poster
 
Posts: 10
Default Redemption MAPI access(c#)

HI every one i have coded a program can searches all our company
calendars.
and looks for tags like vacation and adds them to a database. and then
a project manager can view all the data in a web interface.

But it seem like OOM is very unstable when using olNameSpace =
olApplication.GetNamespace("MAPI");

From redemtion API
Important note: if you set this property to Namespace.MAPIOBJECT
property from the Outlook Object Model and your code is running
outside the outlook.exe address space (i.e. it is not a COM add-in)
some RDO features (RDOFolder.ACL, RDOPSTStore.PstPath,
GetSharedDefaultFolder, GetSharedMailbox, etc) will not function
properly due to bugs in the MAPI COM marshaling support.

and i make heavy use for olMAPIFolder =
olNameSpace.GetSharedDefaultFolder(olRecipient,
Outlook.OlDefaultFolders.olFolderCalendar);

i am now trying to use Redemtion

i am trying to logon to a exchnage to search calendar data

Session.LogonExchangeMailbox("OutlookCalendarSvc@t erma.com", "exch-
be.terma.com");

how do i connect ?

Greetings Entvex
Ads