Jim.

you have to use the Outlook constants to specify what box you are trying to access.
The constants are :-

  olFolderDeletedItems =  3;
  olFolderOutbox =  4;
  olFolderSentMail =  5;
  olFolderInbox =  6;
  olFolderCalendar =  9;
  olFolderContacts = 10;
  olFolderJournal = 11;
  olFolderNotes = 12;
  olFolderTasks = 13;

If you are using OLE to acess these folders, then you do this :-

myItem := myOlApp.CreateItem(olConstant); (olConstant being the constant for the box 
you want to access).

Hope this helps, Jeremy Coulter

 
 
 

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to