Can anyone tell me why my Activity reports an error?


Hi,Uipathers
I‘m a beginner ,I want to get the subject of the Mails and save the attachments。。but my If activity reports an error. can you give me a hand? Thanks in advance

@491979546
Welcome to the forum

it would be helpfully for us of you can share the validation message with us for more details.
Also check it the typeargument of the for each activity is set to System.Net.Mail.MailMessage



Hi,Peter
Here is the validation message.

grafik

the variable datatype rests as it is:

1 Like

Hi,Peter
Thank you so much,it works! :+1:

Hi,Peter
One more question. I have created some other folders below the “Inbox”, how do i get the attachments from those folder?

  • go to outlook app
  • right click on the folder select properties
  • checkout the folder path (as it can be different e.g. by localizations)
  • use this within the get outlook mails activitiy property folder
  • keep it as it is as it is casesensitive

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