Send mail with Multiple attachment having condition of name

Hi guys,

Facing one scenario where files are located in different folders and file name contains customer name,have to send mail with attachment of multiple files for respective customer name(which we will get from variable), currently i am Having list of files in array variable , how i can find same name files and attach it into send smtp message?

Please help, Thanks in advance.

You can use the Compress.xaml file posted here to send all of the data in one attachment as a ZIP file.