I will try to explain the problem I’m having.
I need to build an automation to loop through emails and do something with it if the subject has some predefined words and has an attachment, and here is where my problem begins.
I tried almost every activity version from 1.9.3 to 1.12.3 and in every version when I use the For Each Email Activity I couldn’t use the attachments property (every e-mail returns 0 attachments). Then I found the version 1.13.1-preview, and in this version the For Each Email Activity has a new parameter (retrieve attachments) that solved my problem above, BUT, a new problem has appeared and this time I really think is a bug.
I ran the automation through a lot of emails, and in some emails I had a problem when the parameter Retrieve Attachments is set to true, I get the error on the title on the For Each Email Activity. To the best of my knowledge, the only thing I could find in every email that thrown this error is that they all have a url protector in it
s body (https://urldefense.com/v3/__https://drive.google.com.....) and its the only thing that made sense to me about this error, can you look into this problem please?
Update1: After some more tests, I could run the For Each Email successfully inside an Use Outlook App, but if I use the Use Outlook 365 it fails with the mentioned error.
Update2: I also got an en email digitally signed that the For Each Email don’t recognize (only inside Use Outlook 365, inside Use Outlook App it’s working), the only thing I noticed that is different in this email, is that it’s digitally signed.
Update3: None of this problems occur when using the UiPath.MicrosoftOffice365.Activities.