How to loop over each email in Outlook 365? - Cross Platform

Trying to iterate over emails in Inbox folder via For Each and filters.
But how do I reference the current email being iterated?
image

Output is number of emails processed not Office365Message object

@Sumit_kumar4

Inside for each you can use currentmail to access the current mail being iterated

Cheers

Thanks, CurrentEmail shows as correct Office365Message object.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.