hi, I am not sure reading doc if CDOSYS can be used to read contacts, appointments and tasks from an exchange server. It seems it can be only used to send e-mails... Is it possible to use that to create new entries as well (new contacts, appointments and tasks)? thanks
CDOSYS can't be used to access an Exchange mailbox, you can use CDOEX (which replaces CDOSYS on an Exchange server) to do this locally on a Exchange server (this works by using Exoledb to access the store). If you need your code to run remotely you can use MAPI via CDO 1.2 (or the Outlook Object Model) or use WebDAV over HTTP. If you have a look in the Exchange SDK which you can download from http://msdn.microsoft.com/exchange you'll see various samples for doing this type of thing. Cheers Glen "pdepmcp" wrote in message news:57655226-D23D-4273-B7B6-381B7F2AE6CB@microsoft.com... > hi, > I am not sure reading doc if CDOSYS can be used to read contacts, > appointments and tasks from an exchange server. It seems it can be only > used > to send e-mails... > Is it possible to use that to create new entries as well (new contacts, > appointments and tasks)? > > thanks
thank you for your answer :) i'll go on with my mapi development.... :( "Glen Scales [MVP]" wrote: > CDOSYS can't be used to access an Exchange mailbox, you can use CDOEX (which > replaces CDOSYS on an Exchange server) to do this locally on a Exchange > server (this works by using Exoledb to access the store). If you need your > code to run remotely you can use MAPI via CDO 1.2 (or the Outlook Object > Model) or use WebDAV over HTTP. If you have a look in the Exchange SDK which > you can download from http://msdn.microsoft.com/exchange you'll see various > samples for doing this type of thing. > > Cheers > Glen > > "pdepmcp" wrote in message > news:57655226-D23D-4273-B7B6-381B7F2AE6CB@microsoft.com... > > hi, > > I am not sure reading doc if CDOSYS can be used to read contacts, > > appointments and tasks from an exchange server. It seems it can be only > > used > > to send e-mails... > > Is it possible to use that to create new entries as well (new contacts, > > appointments and tasks)? > > > > thanks > > >