Send attachment by mail


Add Attachments to IEnumerable of String:

Assign: attachments = {“C:\Path\To\file1.txt”, “C:\Path\To\file2.pdf”}

In this example, the attachments variable holds a collection of file paths (strings), which are then passed to the “Send Outlook Mail Message” activity as attachments. This allows you to attach specific files to the email without needing to attach all files from a folder.

1 Like