﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3043	FOR..IN..NEXT loop completes before processing all Outlook maillitems	apoliemans		"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."	Bug	closed		AutoIt	3.3.12.0	None	No Bug		
