General information
Category:
COM/DCOM and OLE Automation
Environment versions
Network:
Windows 2003 Server
Hi
I've looked at that and whilst the myInbox.items.find(lcFilter) works, it only finds one item. My code looks like this:
loOutlook = createobject('Outlook.Application')
loNS = loOutlook.GetNameSpace('MAPI')
loInbox = loNS.GetDefaultFolder(6)
loItems = loInbox.Items
lcFilter = '[Sendername] = ' + '"' + 'Derek Chapman' + '"'
loSearch = loInbox.Items.Filter(lcFilter)
do while not isnull(loSearch)
? loSearch.receivedtime
loSearch = loItems.findnext()
enddo
There are 100's of emails from Derek Chapman, but this code only returns 1 item.
Regards
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only