dynamic file name in attachment of tSendMail component

One Star

dynamic file name in attachment of tSendMail component

How to add the current date variable into the file name in the attachment of tSendMail component?
Moderator

Re: dynamic file name in attachment of tSendMail component

Hi,
How to add the current date variable into the file name in the attachment of tSendMail component?


Your attachment files are named as current date? Could you please set an example for your use case?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: dynamic file name in attachment of tSendMail component

Hi chingl,
You can append the current date to the file name as shown in the screen shot. Please try this way and let us know. 
 
Thank you.
Regards
Srikanth
Two Stars

Re: dynamic file name in attachment of tSendMail component

How you can add an attachment with a dynamic file name?  For example : "C:/temp/*.txt"

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch