<?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 Adding Table format in the SendMail Component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Adding-Table-format-in-the-SendMail-Component/m-p/2376551#M138672</link>
    <description>&lt;P&gt;How i can add a proper table format to display the content in SendMail. Below is my Job&lt;BR /&gt;&lt;A href="https://community.talend.com/legacyfs/online/284577/Sendmail_Talend_job.png_20150826-0757.png" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGT6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157700i74A1D6D314BD0E9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGT6.png" alt="0683p000009MGT6.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now the java flex has &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start Code:&lt;BR /&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; String result_set="";&lt;BR /&gt;Main Code&lt;BR /&gt;result_set=result_set+"&amp;amp;nbsp;"+"&amp;amp;nbsp;"+"&amp;amp;nbsp;"+email_output.Name+"&amp;amp;nbsp;"+"&amp;amp;nbsp;"+"&amp;amp;nbsp;"+email_output.EmpID+"&amp;lt;p&amp;gt;"; &lt;BR /&gt;&lt;BR /&gt;End Code&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; globalMap.put("result",result_set);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SendMail message has&lt;BR /&gt;&lt;BR /&gt;(String)globalMap.get("result")&lt;BR /&gt;&lt;BR /&gt;-Advance setting: &amp;nbsp; MIME type ='HTML'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I get output like below&lt;BR /&gt;&lt;BR /&gt;eg:&lt;BR /&gt;&lt;BR /&gt;---------------------------------------------------------------&amp;nbsp; Output -------------------------------------&lt;BR /&gt;&lt;BR /&gt;Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Number&lt;BR /&gt;&lt;BR /&gt;Jhon&amp;nbsp;&amp;nbsp; EMP00123&lt;BR /&gt;Daniel&amp;nbsp;&amp;nbsp;&amp;nbsp; EMP111111&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This works, But you can see the column are not properly indent. &lt;BR /&gt;&lt;BR /&gt;So how i can achieve the proper indent ? &lt;BR /&gt;Any help is greatly appreciated&lt;BR /&gt;&lt;BR /&gt;My job desgin&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGfu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146351iF63832B18A4E091D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGfu.png" alt="0683p000009MGfu.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Aug 2015 06:55:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-26T06:55:57Z</dc:date>
    <item>
      <title>Adding Table format in the SendMail Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Adding-Table-format-in-the-SendMail-Component/m-p/2376551#M138672</link>
      <description>&lt;P&gt;How i can add a proper table format to display the content in SendMail. Below is my Job&lt;BR /&gt;&lt;A href="https://community.talend.com/legacyfs/online/284577/Sendmail_Talend_job.png_20150826-0757.png" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGT6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157700i74A1D6D314BD0E9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGT6.png" alt="0683p000009MGT6.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now the java flex has &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start Code:&lt;BR /&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; String result_set="";&lt;BR /&gt;Main Code&lt;BR /&gt;result_set=result_set+"&amp;amp;nbsp;"+"&amp;amp;nbsp;"+"&amp;amp;nbsp;"+email_output.Name+"&amp;amp;nbsp;"+"&amp;amp;nbsp;"+"&amp;amp;nbsp;"+email_output.EmpID+"&amp;lt;p&amp;gt;"; &lt;BR /&gt;&lt;BR /&gt;End Code&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; globalMap.put("result",result_set);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SendMail message has&lt;BR /&gt;&lt;BR /&gt;(String)globalMap.get("result")&lt;BR /&gt;&lt;BR /&gt;-Advance setting: &amp;nbsp; MIME type ='HTML'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I get output like below&lt;BR /&gt;&lt;BR /&gt;eg:&lt;BR /&gt;&lt;BR /&gt;---------------------------------------------------------------&amp;nbsp; Output -------------------------------------&lt;BR /&gt;&lt;BR /&gt;Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Number&lt;BR /&gt;&lt;BR /&gt;Jhon&amp;nbsp;&amp;nbsp; EMP00123&lt;BR /&gt;Daniel&amp;nbsp;&amp;nbsp;&amp;nbsp; EMP111111&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This works, But you can see the column are not properly indent. &lt;BR /&gt;&lt;BR /&gt;So how i can achieve the proper indent ? &lt;BR /&gt;Any help is greatly appreciated&lt;BR /&gt;&lt;BR /&gt;My job desgin&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGfu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146351iF63832B18A4E091D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGfu.png" alt="0683p000009MGfu.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 06:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Adding-Table-format-in-the-SendMail-Component/m-p/2376551#M138672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-26T06:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Table format in the SendMail Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Adding-Table-format-in-the-SendMail-Component/m-p/2376552#M138673</link>
      <description>hi Ikv,
&lt;BR /&gt;Why are you using tjavaflex for that ?
&lt;BR /&gt;branch your flow directly to tSendmail or use flowToIterate (that put each field in globalMap)
&lt;BR /&gt;
&lt;BR /&gt;regards
&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 26 Aug 2015 08:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Adding-Table-format-in-the-SendMail-Component/m-p/2376552#M138673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-26T08:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Table format in the SendMail Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Adding-Table-format-in-the-SendMail-Component/m-p/2376553#M138674</link>
      <description>I got this by adding below code in Java Flex 
&lt;BR /&gt;Start code
&lt;BR /&gt;
&lt;BR /&gt;&amp;nbsp;String result_set="&amp;lt;style&amp;gt;table, td {&amp;nbsp;&amp;nbsp;&amp;nbsp; border: 1px solid black;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-collapse: collapse;}table, th { border: 2px solid black;}th, td {padding: 3px;},th {text-align: left;},th {background-color: DodgerBlue; color: white;},td{font-family: arial; font-size: 10pt;}&amp;lt;/style&amp;gt; &amp;lt;table style=width:100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Number&amp;lt;/th&amp;gt; &amp;lt;/tr&amp;gt;" ;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;End Code
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result_set=result_set+"&amp;lt;/table&amp;gt;";
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; globalMap.put("result",result_set);</description>
      <pubDate>Wed, 09 Sep 2015 23:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Adding-Table-format-in-the-SendMail-Component/m-p/2376553#M138674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T23:30:59Z</dc:date>
    </item>
  </channel>
</rss>

