Multiple Attachments in One Email from tFileList

One Star

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!
One Star

Re: Multiple Attachments in One Email from tFileList

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.
One Star

Re: Multiple Attachments in One Email from tFileList

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
One Star

Re: Multiple Attachments in One Email from tFileList

how do you specify the folder?
Community Manager

Re: Multiple Attachments in One Email from tFileList

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
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Multiple Attachments in One Email from tFileList

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"

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads