Board index » delphi » Moving Exchange server messages

Moving Exchange server messages

Hi,

I'm not sure if this is the right group but I wondered if any can recommend
a way of linking to Microsoft Exchange so that I can move messages between
folders from a Delphi program.

I have read various messages about Extended MAPI and CDO but wondered if
anyone had any experience of doing this and could recommend the best way of
doing it.

TIA

Tim

 

Re:Moving Exchange server messages


Which API are you going to use? Outlook object model is by far the easiest:
MailItem.Move(DestFolder) in Outlook object model
Message.MoveTo(FolderID, StoreID) in CDO
IMAPIFolder.CopyMessages(..., MESSAGE_MOVE, ...) in Extended MAPI

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

Quote
"Tim Lightfoot" <tim.lightf...@sota.co.uk> wrote in message

news:3cb420af$1_2@dnews...
Quote
> Hi,

> I'm not sure if this is the right group but I wondered if any can recommend
> a way of linking to Microsoft Exchange so that I can move messages between
> folders from a Delphi program.

> I have read various messages about Extended MAPI and CDO but wondered if
> anyone had any experience of doing this and could recommend the best way of
> doing it.

> TIA

> Tim

Other Threads