The CurrentMail item in ForeachEmail activity for Outlook is not returning the attachment count


The CurrentMail variable doesn’t seem to be providing the correct attachment count inside the ForeachEmail activity.

Please confirm whether this is a bug or something that can be fixed.

Hi @mbalaji1985

I’ve seen a similar topic recently and it looks like the latest preview version of the Mail activity package resolves the issue.

Could you give it a try? :slight_smile:

Thanks @loginerror . But seems the preview version is unavailable for me. Seems it is available only for community editions.

It might indeed depend on your company policies, but just to be on the same page - it does require this filter to be selected in the package manager:

Thanks @loginerror I am now able to access the pre-release packages.

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