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
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