Can someone, tell me…How to read multiple read/unread emails using different mail activities?
You wanna reading mails from multiple account?
Or making general use workflow that can read any types of mail?
Hello @johns
If you want to read multiple mails from a single ID take IMAP Activity and set all the proper inputs(Email and Password) then take a For Each activity set its Type Argument to System.Net.MailMessage and you can access all your emails
and
If you want to read multiple mails from multiple IDs take that many IMAP Activities and then store all the output variables in an array and take two For Each Activities in one for each Array of Email output and inside that For each another for each containing Item(value of previous for each).
1 Like