 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mark Smits Guest
|
Posted: Fri Jan 21, 2005 3:16 pm Post subject: How to get to the mailitems ? |
|
|
It's been a long time since I have done this. How do I get the MailItems in
a folder ?
var
NS : NameSpace;
F: MAPIFolder;
ItemCount: Integer;
MI: MailItem;
begin
NS := OutlookApplication1.GetNamespace('MAPI');
NS.Logon('','',false,false);
F := NS.PickFolder;
for ItemCount := 0 to (F.Items.Count-1) do
begin
//
end;
end;
|
|
| Back to top |
|
 |
Dmitry Streblechenko Guest
|
Posted: Fri Jan 21, 2005 4:56 pm Post subject: Re: How to get to the mailitems ? |
|
|
MAPIFolder.Items collection.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Mark Smits" <x@x> wrote
| Quote: | It's been a long time since I have done this. How do I get the MailItems
in
a folder ?
var
NS : NameSpace;
F: MAPIFolder;
ItemCount: Integer;
MI: MailItem;
begin
NS := OutlookApplication1.GetNamespace('MAPI');
NS.Logon('','',false,false);
F := NS.PickFolder;
for ItemCount := 0 to (F.Items.Count-1) do
begin
//
end;
end;
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|