<?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: Tfileinput Fetch file 1 by 1 and send mail multiple rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256049#M38565</link>
    <description>&lt;P&gt;PFA the screen shot below first Records are getting generated and 2 File are getting created and then next job they are getting send . Is it possible to do below :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Fetch Records ( multiple records ) based on email id ---&amp;gt; send mail--&amp;gt;delete file (continue same for other customers )&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Currently i am fetching records --&amp;gt;sending to file and multiple file are getting created based on mail id --&amp;gt; sending those to customer .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1EX.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145631i3164BC6EB6C85A93/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1EX.jpg" alt="0683p000009M1EX.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Nov 2018 10:06:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-19T10:06:54Z</dc:date>
    <item>
      <title>Tfileinput Fetch file 1 by 1 and send mail multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256043#M38559</link>
      <description>&lt;P&gt;I have created&amp;nbsp; a JOb Tfilelist-----&amp;gt;tfileinputdelimited--&amp;gt;tJavarow&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tsendmail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 have 2 files and in 1 file there are multiple rows and in 2nd file 1 row. System is sending 2 Mails with content as 2 and other file with 3 content , but i need to send 2 mails i.e file wise . Can you help me in achieve that .&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 06:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256043#M38559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-17T06:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileinput Fetch file 1 by 1 and send mail multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256044#M38560</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; The description given is slightly confusing. Could you please rephrase the description of this problem?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; In between, are you trying to achieve the same logic what you have asked in your other post in a different way? If yes, I have added one logic in your other post and I am adding the link here.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCkRqCAK#M86300" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Fetch-data-using-Iterate-and-send-logs-by-mail/m-p/139533#M86300&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 11:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256044#M38560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-17T11:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileinput Fetch file 1 by 1 and send mail multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256045#M38561</link>
      <description>&lt;P&gt;Nikhil its different ....There are 2 files&amp;nbsp; in Folder having below content .....&lt;/P&gt;&lt;P&gt;file A&lt;/P&gt;&lt;P&gt;row 1 -- (A,VIJAY,dahiya.vijay@gmai.com).&amp;nbsp;&lt;/P&gt;&lt;P&gt;row2 -- (A,DAHIYA,dahiya.vijay@gmai.com)&lt;/P&gt;&lt;P&gt;File B.&lt;/P&gt;&lt;P&gt;row&amp;nbsp; 1 -- (B,VD,vd@yahoo.com)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now i need to send content of above 2 files in mail body . 1st Mail will have FILE A content and 2nd Mail will be have File 2 Content .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried by system is sending all the 3 content in single mail it is not sending file by file .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 12:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256045#M38561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-17T12:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileinput Fetch file 1 by 1 and send mail multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256046#M38562</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;For each iteration, you can read the content of a file to a variable (for example String) and use that String variable to deliver the content in tsendmail component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Below link can help you to understand how to read the entire file and capture it to a string variable. But please&amp;nbsp;have an eye on the upper threshold limit of String variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://howtodoinjava.com/java/io/java-read-file-to-string-examples/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://howtodoinjava.com/java/io/java-read-file-to-string-examples/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I hope the idea has helped to find way ahead for your query. Could you please mark the topic as resolved if the answer has helped you. Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 05:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256046#M38562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-19T05:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileinput Fetch file 1 by 1 and send mail multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256047#M38563</link>
      <description>&lt;P&gt;Nikhil it is too big way to do that , is it not possible i read 1 file at a time and send&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Hi,&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;For each iteration, you can read the content of a file to a variable (for example String) and use that String variable to deliver the content in tsendmail component.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp; &amp;nbsp; Below link can help you to understand how to read the entire file and capture it to a string variable. But please&amp;nbsp;have an eye on the upper threshold limit of String variable.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&lt;A href="https://howtodoinjava.com/java/io/java-read-file-to-string-examples/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://howtodoinjava.com/java/io/java-read-file-to-string-examples/&lt;/A&gt;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp; &amp;nbsp; I hope the idea has helped to find way ahead for your query. Could you please mark the topic as resolved if the answer has helped you. Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Warm Regards,&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Nikhil Thampi&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;those content by mail and delete that file and again read next file .&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 07:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256047#M38563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-19T07:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileinput Fetch file 1 by 1 and send mail multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256048#M38564</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please share the job you have created and the error you are getting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 09:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256048#M38564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-19T09:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileinput Fetch file 1 by 1 and send mail multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256049#M38565</link>
      <description>&lt;P&gt;PFA the screen shot below first Records are getting generated and 2 File are getting created and then next job they are getting send . Is it possible to do below :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Fetch Records ( multiple records ) based on email id ---&amp;gt; send mail--&amp;gt;delete file (continue same for other customers )&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Currently i am fetching records --&amp;gt;sending to file and multiple file are getting created based on mail id --&amp;gt; sending those to customer .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1EX.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145631i3164BC6EB6C85A93/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1EX.jpg" alt="0683p000009M1EX.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 10:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileinput-Fetch-file-1-by-1-and-send-mail-multiple-rows/m-p/2256049#M38565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-19T10:06:54Z</dc:date>
    </item>
  </channel>
</rss>

