Comapre 2 list and Send the non match ones in outlook

i have a list with all filename
now i want to get all the filenames from a location

compare and if non match present then send outlook mail → add these fileto location

Hi @Chirag12 ,

You can use following to get matched or not matched list items

Common Values


UnCommon Values


Attach the multiple files to Outlook Please follow the below steps:

  1. Create a variable ‘multiAttach’ of type string array.
  2. Assign multiAttach = Directory.GetFiles(“folder path”)
  3. In Send outlook mail messages, instead of attaching files use AttachmentsCollections from the properties and pass ‘multiAttach’ variable.(Please see below image)
    Multiple Attachments

Hey @Chirag12 ,

i have replicated your scenario, kindly check the compressed file given below (31.2 KB)

Hope it helps you!

1 Like

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