<?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: Using tSendMail with tJavaRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373895#M136562</link>
    <description>&lt;P&gt;You need to do "context.Firstname = input_row.FirstName" but, because of the job design, you'll get only the last value.&lt;/P&gt;&lt;P&gt;Give an example of the input data and the expected email you want to build.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2018 17:22:25 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-04-18T17:22:25Z</dc:date>
    <item>
      <title>Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373892#M136559</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt; 
&lt;P&gt;I am trying to get data from MySQL and eventually send it as html email messsage.&lt;/P&gt; 
&lt;P&gt;I read many articles here but dont understand issue with my flow.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am getting results, but email content dont show "FirstName" while email sending is fine.&lt;/P&gt; 
&lt;P&gt;In context option i added one string as "Fname" and in my table i have one "FirstName" column.&lt;/P&gt; 
&lt;P&gt;in tJavaRow components i added this code :&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;context.FName= input_row.FirstName;&lt;/PRE&gt; 
&lt;P&gt;And then in tSendMail message added :&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;context.FName&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 461px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwpb.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149940iF21F41DA6F985294/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwpb.jpg" alt="0683p000009Lwpb.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please advise what i am doing wrong. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 13:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373892#M136559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-18T13:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373893#M136560</link>
      <description>&lt;P&gt;If you want to send 1 email per record, you need to add a tFlowToIterate after the tJavaRow component then connect it to&amp;nbsp;tSendMail and use the global variables created by&amp;nbsp;&lt;SPAN&gt;tFlowToIterate.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 14:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373893#M136560</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-18T14:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373894#M136561</link>
      <description>&lt;P&gt;Dear TRF,&lt;/P&gt; 
&lt;P&gt;I want to send multiple records in one email. my template will contain several records.&lt;/P&gt; 
&lt;P&gt;The problem i am facing is with assigning data.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What should i add in tJavaRow components:&amp;nbsp;context.FirstName = ??&lt;/P&gt; 
&lt;P&gt;My table results are like below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_2.jpg" style="width: 287px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwpl.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144428i41E0B5AFE5832908/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwpl.jpg" alt="0683p000009Lwpl.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;In Email Message:&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"Hello, The input message is " + context.FirstName&lt;/PRE&gt; 
&lt;P&gt;Context.FirstName dont have any value. Please advise. Thanks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 14:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373894#M136561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-18T14:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373895#M136562</link>
      <description>&lt;P&gt;You need to do "context.Firstname = input_row.FirstName" but, because of the job design, you'll get only the last value.&lt;/P&gt;&lt;P&gt;Give an example of the input data and the expected email you want to build.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 17:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373895#M136562</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-18T17:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373896#M136563</link>
      <description>&lt;P&gt;Dear TRF,&lt;/P&gt;
&lt;P&gt;I am using "&lt;SPAN&gt;context.FirstName= input_row.FirstName&lt;/SPAN&gt;" but even&amp;nbsp;dont get last row value.&lt;/P&gt;
&lt;P&gt;My Input data is from mySQL Table, it contain following data which is in tLogRow.&lt;/P&gt;
&lt;P&gt;I will print simple html table like below in email. My Job Design is in above post, please advise. Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID FirstName LastName&lt;/P&gt;
&lt;TABLE&gt;
 &lt;TBODY&gt;
  &lt;TR&gt;
   &lt;TD&gt;1&lt;/TD&gt;
   &lt;TD&gt;AAA&lt;/TD&gt;
   &lt;TD&gt;BBB&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;2&lt;/TD&gt;
   &lt;TD&gt;ABC&lt;/TD&gt;
   &lt;TD&gt;DEF&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;3&lt;/TD&gt;
   &lt;TD&gt;DEF&lt;/TD&gt;
   &lt;TD&gt;GHI&lt;/TD&gt;
  &lt;/TR&gt;
 &lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Update:&lt;/P&gt;
&lt;P&gt;Now i added 3 variables in context as ID(int),FirstName(string),LastName(string).&lt;/P&gt;
&lt;P&gt;In tJavaRow component added:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;context.ID= input_row.ID;
context.FirstName = input_row.FirstName;
context.LastName = input_row.LastName;&lt;/PRE&gt;
&lt;P&gt;and in tSendMail Message added:&lt;/P&gt;
&lt;PRE&gt;context.ID +"  "+ context.FirstName + "  " + context.LastName&lt;/PRE&gt;
&lt;P&gt;And now in email i am getting null as result.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 07:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373896#M136563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T07:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373897#M136564</link>
      <description>&lt;P&gt;You want to build a html table to be included into the email message, right?&lt;/P&gt;&lt;P&gt;So, what you're doning is not enough.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Based on your job design, you need&amp;nbsp;&lt;/SPAN&gt;to construct the html table row by row into your tJavaRow, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;String msg = ((String)globalMap.getOrDefault("mailMsg", "&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Id&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Firstname&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Lastname&amp;lt;/th&amp;gt;"));
msg = msg +
      "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + input_row.ID + "&amp;lt;/td&amp;gt;" +
      "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + input_row.FirstName + "&amp;lt;/td&amp;gt;" +
      "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + input_row.LastName + "&amp;lt;/td&amp;gt;";

globalMap.put("mailMsg", msg);&lt;/PRE&gt;&lt;P&gt;Then, in tSendMail, use the global variable to complete the message field and close the html table:&lt;/P&gt;&lt;PRE&gt;((String)globalMap.get("mailMsg")) + 
"&amp;lt;/table&amp;gt;"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 08:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373897#M136564</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-19T08:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373898#M136565</link>
      <description>&lt;P&gt;Dear TRF,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is strange that in email i am still getting "null ". While in tLogRow i am getting proper results.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Mapping from tLogRow and tJavaRow is also correct , as below. What possible can be wrong with this.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwrO.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149819i6F1295AC0D6725A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwrO.jpg" alt="0683p000009LwrO.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 08:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373898#M136565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T08:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373899#M136566</link>
      <description>&lt;P&gt;Looks OK but as it doesn't make the expected job (building a html table), I suggest you to use the code from my previous answer.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 09:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373899#M136566</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-19T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373900#M136567</link>
      <description>&lt;P&gt;Dear TRF,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i changed the code like below, but still getting null. I think this tJavaRow is not suitable for this , but alot of people on this forum are using it. I tried many ways still getting null in email output.&lt;/P&gt;&lt;PRE&gt;context.ID= input_row.ID;
context.FirstName = input_row.FirstName;
context.LastName = input_row.LastName;
String msg = ((String)globalMap.getOrDefault("mailMsg", "&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;ID&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;FirstName&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;LastName&amp;lt;/th&amp;gt;"));
msg = msg +
      "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + context.ID + "&amp;lt;/td&amp;gt;" +
      "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + context.FirstName + "&amp;lt;/td&amp;gt;" +
      "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + context.LastName + "&amp;lt;/td&amp;gt;";

globalMap.put("mailMsg", msg);&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Apr 2018 09:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373900#M136567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T09:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373901#M136568</link>
      <description>&lt;P&gt;Correct code in tJavaRow should look like this (sorry):&lt;/P&gt;&lt;PRE&gt;String msg = ((String)globalMap.getOrDefault("mailMsg", "&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;ID&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;FirstName&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;LastName&amp;lt;/th&amp;gt;"));
msg = msg +
      "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + context.ID + "&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +
      "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + context.FirstName + "&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +
      "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + context.LastName + "&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;";

globalMap.put("mailMsg", msg);&lt;/PRE&gt;&lt;P&gt;However, this not the reason why you get null in email (and for information, I use a tJavaRow to construct this kind of message in many jobs).&lt;/P&gt;&lt;P&gt;Can you share the tSendMail settings?&lt;/P&gt;&lt;P&gt;Can you also explain why you want to use context variables and what you expect from them?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 09:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373901#M136568</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-19T09:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373902#M136569</link>
      <description>&lt;P&gt;1. I saw in another post context variable so i am using them not specific reason.&lt;/P&gt; 
&lt;P&gt;2. I used System.out.printf and in java debug i can see that everything is printing, msg variable have complete html, though table output is the number of rows, like printing multiple times, but this can be controlled.&lt;/P&gt; 
&lt;P&gt;3. Now the main issue is null in email, below are my mail settings.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 276px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwqa.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157278i4F73B3F48F5FBA2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwqa.jpg" alt="0683p000009Lwqa.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In Advance settings selected Html as MIME, and encoding is ISO-----.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 10:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373902#M136569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T10:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373903#M136570</link>
      <description>&lt;P&gt;Did you hange anything in your initial job design?&lt;/P&gt;&lt;P&gt;Else,&amp;nbsp;add a tJava component with the following code&amp;nbsp;before your tSendMail:&lt;/P&gt;&lt;PRE&gt;System.out.println(((String)globalMap.get("mailMsg")));&lt;/PRE&gt;&lt;P&gt;If it print something, everything is OK, you have the mail content you want.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 10:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373903#M136570</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-19T10:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373904#M136571</link>
      <description>&lt;P&gt;Dear TRF,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Sorry couldnt get&amp;nbsp;"&lt;SPAN&gt;Did you hange anything in your initial job design?&lt;/SPAN&gt;". But results of data are ok.&lt;/P&gt; 
&lt;P&gt;i added tJava as you suggested and getting null again. Please check below screenshot.&lt;/P&gt; 
&lt;P&gt;Is it possible it have anything to do with this "onSubJobOk"?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwc9.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139869iBD8E9B9C161388A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwc9.jpg" alt="0683p000009Lwc9.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 12:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373904#M136571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T12:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373905#M136572</link>
      <description>&lt;P&gt;Update:&lt;/P&gt; 
&lt;P&gt;in tJavaRow i added&amp;nbsp;System.out.println(msg); then output is as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwsV.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134084i67E4B9163A71D260/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwsV.jpg" alt="0683p000009LwsV.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_2.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwhs.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154499i17212935112CFA44/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwhs.jpg" alt="0683p000009Lwhs.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 12:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373905#M136572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T12:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373906#M136573</link>
      <description>&lt;P&gt;Here is my tJavaRow (with correction on html syntax):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;String msg = ((String)globalMap.getOrDefault("mailMsg", "&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;ID&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;FirstName&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;LastName&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;"));&lt;BR /&gt;msg = msg +&lt;BR /&gt; "&amp;lt;tr&amp;gt;" +&lt;BR /&gt; "&amp;lt;td&amp;gt;" + input_row.Id + "&amp;lt;/td&amp;gt;" +&lt;BR /&gt; "&amp;lt;td&amp;gt;" + input_row.FirstName + "&amp;lt;/td&amp;gt;" +&lt;BR /&gt; "&amp;lt;td&amp;gt;" + input_row.LastName + "&amp;lt;/td&amp;gt;" +&lt;BR /&gt; "&amp;lt;/tr&amp;gt;";&lt;BR /&gt;&lt;BR /&gt;globalMap.put("mailMsg", msg);&lt;/PRE&gt;&lt;P&gt;and here is what tJava print on the console:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[statistics] connecting to socket on port 3767&lt;BR /&gt;[statistics] connected&lt;BR /&gt;.--+---------+--------.&lt;BR /&gt;| tLogRow_40 |&lt;BR /&gt;|=-+---------+-------=|&lt;BR /&gt;|Id|FirstName|LastName|&lt;BR /&gt;|=-+---------+-------=|&lt;BR /&gt;|1 |AAA |BBB |&lt;BR /&gt;|2 |ABC |DEF |&lt;BR /&gt;|3 |DEF |GHI |&lt;BR /&gt;'--+---------+--------'&lt;BR /&gt;&lt;BR /&gt;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;ID&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;FirstName&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;LastName&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;AAA&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;BBB&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ABC&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;DEF&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;DEF&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;GHI&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;[statistics] disconnected&lt;/PRE&gt;&lt;P&gt;Do you have synchrnized your tJavaRow schema?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, do it and retry.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 13:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373906#M136573</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-19T13:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373907#M136574</link>
      <description>&lt;P&gt;Yes, finally its working. Thank You &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;Still not sure what the issue was, My schema was sync, maybe html, but good that its working, i got email with proper table now. now i just need to modify html.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 13:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373907#M136574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T13:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using tSendMail with tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373908#M136575</link>
      <description>&lt;P&gt;Great!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 13:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tSendMail-with-tJavaRow/m-p/2373908#M136575</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-19T13:33:32Z</dc:date>
    </item>
  </channel>
</rss>

