Opened 9 years ago
Closed 9 years ago
#3043 closed Bug (No Bug)
FOR..IN..NEXT loop completes before processing all Outlook maillitems
Reported by: | apoliemans | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.12.0 | Severity: | None |
Keywords: | Cc: |
Description
Tested in v3.3.12.0 and v3.3.13.20 (beta).
When iterating Outlook mailitems using a FOR..IN..NEXT loop,
and deleting (some or all) mailitems while iterating,
the loop exits before processing all items.
Testcase attached: Outlook_test.au3
When running similar lines of code in Excel (FOR..IN..NEXT loop to delete sheets) it does, as expected, delete all items (except the last sheet which can never be deleted by design).
Testcase attached: Excel_test.au3
I would expect the Outlook loop to delete all mailitems.
Attachments (2)
Change History (5)
Changed 9 years ago by apoliemans
comment:1 Changed 9 years ago by apoliemans
In addition, my config is
- WIN7 32-bit
- MS Outlook 2007.
Andre
comment:2 Changed 9 years ago by apoliemans
Problem also on:
- WIN7 64-bit
- MS Outlook 2010
Andre
comment:3 Changed 9 years ago by Jos
- Resolution set to No Bug
- Status changed from new to closed
Same is happening with a VBScript so not an AutoIt3 Comm issues
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
testcase FOR..IN..NEXT loop deleting Outlook mailitems