Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Multiple Attachments in One Email from tFileList

Hi,
I'm trying to send an email with multiple attachments. If I have a tFileList, I can iterate and send one email per file using ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")), but how do I add multiple attachments to a single email?
Thanks!
Labels (2)
5 Replies
bluishjoe
Contributor III
Contributor III

I found out a way to send multiple attachments with tSendMail: in the attachments list you can specify also folders. In this way it will send all files contained in the listed directories.
josephmundadan
Contributor
Contributor

I found out a way to send multiple attachments with tSendMail: in the attachments list you can specify also folders. In this way it will send all files contained in the listed directories.

Thanks a lot. This has helped me in solving the issue I was encountering.
Regards,
Joseph
Anonymous
Not applicable
Author

how do you specify the folder?
Anonymous
Not applicable
Author

how do you specify the folder?

please see my screenshot, specify the folder path in the attachment list, it will send all files (do not include the files in the sub directory) in a single email.
Shong
0683p000009MBil.png
Anonymous
Not applicable
Author

I specified the folder and the mail was still sent multiple times:
"C:/Talend/5.0.2/studio/Talend-Studio-r78327-V5.0.2/workspace/Sales"