<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Send file with dynamic file name though tSendmail in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305343#M77012</link>
    <description>Are you sure the file exists before you try to send it? Can you share your job design?</description>
    <pubDate>Wed, 20 Jun 2018 21:40:18 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-06-20T21:40:18Z</dc:date>
    <item>
      <title>Send file with dynamic file name though tSendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305342#M77011</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can someone advise me below? Thank you so much!&lt;/P&gt; 
&lt;P&gt;I am trying to use tSendmail component to send file with current date. I put below in tsendmail file attachment -&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"C:/Users/....../E106_Error_report_"+TalendDate.formatDate("yyyyMMddHHmmss",TalendDate.getCurrentDate())+".US.DWLOGN"&lt;/P&gt; 
&lt;P&gt;and I got below error -&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ly2v.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144537i92E0E140A0A44ABD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ly2v.png" alt="0683p000009Ly2v.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 21:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305342#M77011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-20T21:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Send file with dynamic file name though tSendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305343#M77012</link>
      <description>Are you sure the file exists before you try to send it? Can you share your job design?</description>
      <pubDate>Wed, 20 Jun 2018 21:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305343#M77012</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-20T21:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Send file with dynamic file name though tSendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305344#M77013</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please see below. I successfully run the report but not good through tsendmail component&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ly35.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155471i8F5FF87F5E7D4CC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ly35.png" alt="0683p000009Ly35.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 21:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305344#M77013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-20T21:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Send file with dynamic file name though tSendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305345#M77014</link>
      <description>&lt;P&gt;The E106_US is the file you are attempting to send via email correct? IF so. Connect the tsendmail to the E106_US file Use a OnSub or ONComp to connect.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 02:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305345#M77014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-21T02:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Send file with dynamic file name though tSendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305346#M77015</link>
      <description>&lt;P&gt;Regarding the job design, it should looks like this to be clearer:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.png" style="width: 538px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lxpa.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149089i317F0D74BECB9BF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lxpa.png" alt="0683p000009Lxpa.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Now, why it doesn't work, this is the question.&lt;/P&gt; 
&lt;P&gt;In your 1rst post you said you use&amp;nbsp;TalendDate.formatDate("yyyyMMddHHmmss",TalendDate.getCurrentDate())&amp;nbsp;&lt;SPAN&gt;to construct the filename in tSendMail. &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;As "ss" changes every second (!!!) you probably have a different&amp;nbsp;filename between tFileOutputDelimited and tSendMail.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;To avoid this kind of mistake, I suggest you to use a global or context variable to define the filename and filepath.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 08:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305346#M77015</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-21T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Send file with dynamic file name though tSendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305347#M77016</link>
      <description>&lt;P&gt;Thanks! Your advice is very helpful! - after I delete "ss" and tsendmail worked.&lt;/P&gt;&lt;P&gt;I am also learning on creating global variable/context variable. Can you please educate me what global variable means? can't find explanation and not know how to do&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 14:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305347#M77016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-22T14:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Send file with dynamic file name though tSendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305348#M77017</link>
      <description>&lt;P&gt;&lt;A href="https://help.talend.com/reader/JdTBzKszzXoWvjpEJD3EBA/rpFV93Uc4LKksvXQFtSdWg" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/JdTBzKszzXoWvjpEJD3EBA/rpFV93Uc4LKksvXQFtSdWg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 14:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-file-with-dynamic-file-name-though-tSendmail/m-p/2305348#M77017</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-22T14:53:56Z</dc:date>
    </item>
  </channel>
</rss>

