I want to save attachments

i am trying to get a first 5 email Subject from outlook email i succesfully get the data after this i am trying to save attachment

i am selecting save attachment option and get a compler error

compiler error(s) encountered processing expression “outputmails”.(2):error bc30311:value of type list of mailmessage)’ cannot be converted to mailmessages

@umar5628

You should give currentitem there…you are already inside loop looping on each outputmails one after other…which can be accessed theough currentitem…

If the currentitem is of type object…then from for loop properties change type argument to mailmessage… if you dont see that option in for loop then change the system activities package version

Hope this helps

Cheers

1 Like

love you @Anil_G i got it

1 Like

@umar5628

Happy Automation.

Please mark solution if resolved else happy to help

Cheers

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