Send Multiple Path Files in Attachment Email Without Know Number of Attachment

Two variables that we need in here

  • First, add all path files (path in String variable) that want to send to ListPath (ListPath in List<String> variable)

  • After finish add all path, assign ListPath to Attachment (Attachment in System.Collections.Generic.IEnumerable<String> variable)

For more easy, you can Ctrl+K in ‘Send SMTP Mail Message’ activity properties AttachmentCollection to make Attachment variable