R
Rainer Merklein
Hi,
i use the following structure to run through all my mails in my OL2003
inbox.
*************************************************************
Set myInbox = myNamespace.GetDefaultFolder(olFolderInbox)
Set myitems = myInbox.Items
For Each myitem In myitems
...
...
????????
...
next myitem
*************************************************************
With which command in the loop can I recognise, that the Item in myItm
is an MailItem and not another Item like (meeting inquiry e.g.).
Is there a command "if isMailitem(myitem) then " available?
Thank you.
Best regards
Rainer
i use the following structure to run through all my mails in my OL2003
inbox.
*************************************************************
Set myInbox = myNamespace.GetDefaultFolder(olFolderInbox)
Set myitems = myInbox.Items
For Each myitem In myitems
...
...
????????
...
next myitem
*************************************************************
With which command in the loop can I recognise, that the Item in myItm
is an MailItem and not another Item like (meeting inquiry e.g.).
Is there a command "if isMailitem(myitem) then " available?
Thank you.
Best regards
Rainer