The information in this article applies to product: e-Work 6.x
Issue
- Can multiple attachments be sent using the %Email() function?
Resolution
Although the Integration Wizard (IW) does not allow more than one attachment to be specified, the Engine can send multiple attachments using %Email().
Use the IW to specify one of the attachments and finish building the function. Then, in the Formula Editor, add the other attachment(s) and separate the paths with a semicolon. Here's an example:
%Email("-removed-","","Subject","Here is the message body.","c:\\temp\\test\_attachment1.txt;c:\\temp\\test\_attachment2.txt")
The file path can also be passed in as a variable. E.g., if a form contained 2 text boxes associated with variables %FilePath and %FilePath2, the values could be passed in as follows:
%Email("-removed-","","Subject","Here is the message body.","%FilePath;%FilePath2")
---
Note: Some information in this post has been hidden to protect privacy.