I am creating customer spesific excel files in loop and trying send them to spesific saleperson but problem is my files directory has so many files than mines. I have all file paths of every excel documents. I am needing add each file path into list or array and in the end send via email attachment collection. How can I add every file path into list or array in loop?
You can use the ‘add to collection’ activity to add them to a list. Make sure you initialize your list first though, which can be done in an assign activity:
assign YourListOfStrings = new list(of string)
How are you sending the email? If it is through SMTP, you can just add them all in the AttachmentCollection property
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.