Out of curiousity, what if you want to access a user created email folder,
called say Foo. Is there some way of selecting folders by name?
David.
DB Solutions.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, October 03, 2000 3:15 AM
Subject: RE: [DUG]: access mail from a specified folder
> 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"
---------------------------------------------------------------------------
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"