Outlook's Inbox Folder

  • Thread starter Thread starter Simon Waters
  • Start date Start date
S

Simon Waters

Is it possible to add an email item from an external source to the Outlook
Inbox?
I would like to achieve this programatically not by the Import/Export
dialog.
I am using Outlook 2000 and Delphi.

Thanks in advance.
 
Sure:
YouInboxFolder:=Application.Session.GetDefaultFolder(olFolderInbox);
NewMessage:=YouInboxFolder.Items.Add('IPM.Note');
NewMessage.Subject:='test';
NewMessage.Save;

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