Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook object
Message
From
20/02/2001 14:44:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Outlook object
Miscellaneous
Thread ID:
00477734
Message ID:
00477734
Views:
56
Hi,

I have the following code to move all the emails sent to information@abc.com to the oNewFolder folder

When I run the following code each time, only about half of the total mails sent to this address are moved to the destinated folder, not all.
Can any one solve this problem for me. Thanks.

******************************************************************

myRestrictedItems = myItems.restrict("[To] = information@abc.com")

for each myRestrictedItem in myRestrictedItems
loReply = myRestrictedItem.Reply
lcSender = loReply.Recipients[1].Address
?lcSender

myRestrictedItem.move(oNewFolder)
endfor

*******************************************************************

Mun
Next
Reply
Map
View

Click here to load this message in the networking platform