View Single Post
Old 11-12-2015, 06:46 AM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Retired Moderator
* Guru *
Join Date: May 2001
Location: Vorlon
Posts: 19,175

Maybe handle it in steps of 100.
So step out of the ExportAttachments method if you have processed 100 emails.
Then everything is closed, including the Outlook session.

Call the ExportAttachments routine in a loop until it doesn't find any unsaved attachments anymore.
Reply With Quote