<?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: How to get console contents into tSendMail email message content? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279569#M54690</link>
    <description>Hi Shong, still interested to know how tRedirectOutput fits into your recommended design 
&lt;BR /&gt;Thanks 
&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;</description>
    <pubDate>Tue, 03 Dec 2013 20:22:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-03T20:22:46Z</dc:date>
    <item>
      <title>How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279561#M54682</link>
      <description>Hi, as per title, I'd like to see what my console prints out in the email message content 
&lt;BR /&gt;My canvas image is attached 
&lt;BR /&gt;What do I need to put in the Message field in order to achieve this? 
&lt;BR /&gt;I've tried various selections from the ctrl spacebar dropdown list (without editing any of them) as per this page 
&lt;A href="https://help.talend.com/search/all?query=tSendMail" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tSendMail&lt;/A&gt; 
&lt;BR /&gt;For example, I have tried putting: 
&lt;BR /&gt; 
&lt;PRE&gt;((String)globalMap.get("tMysqlOutput_1_ERROR_MESSAGE"))&lt;/PRE&gt; 
&lt;BR /&gt;In the Message field 
&lt;BR /&gt;My incoming email message content is 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;""&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;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;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Thu, 28 Nov 2013 18:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279561#M54682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-28T18:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279562#M54683</link>
      <description>This design cannot work. If you get a reject flow no error messages will be put into the globalMap.&lt;BR /&gt;The reject flow contains in two additional columns the message and the exception why this dataset is rejected.&lt;BR /&gt;You should use these informations!</description>
      <pubDate>Thu, 28 Nov 2013 22:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279562#M54683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-28T22:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279563#M54684</link>
      <description>Hi, what design would you recommend to capture errors and email their contents in this case?&lt;BR /&gt;Thank You</description>
      <pubDate>Thu, 28 Nov 2013 22:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279563#M54684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-28T22:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279564#M54685</link>
      <description>I would store the rejected datasets (including the additional errorMessage) into a file.&lt;BR /&gt;In a new subjob I would check the counter tDBOutput_REJECTS and if it not null and greater than 0 I would send an email with the created file as attachment.</description>
      <pubDate>Thu, 28 Nov 2013 22:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279564#M54685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-28T22:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279565#M54686</link>
      <description>Thanks for sharing; sounds rather different from what I'm currently doing here</description>
      <pubDate>Thu, 28 Nov 2013 23:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279565#M54686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-28T23:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279566#M54687</link>
      <description>Yes it is different but I am confident it is more stable and maintainable.</description>
      <pubDate>Fri, 29 Nov 2013 00:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279566#M54687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-29T00:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279567#M54688</link>
      <description>Hi
&lt;BR /&gt;You can also consider to use a custom component called tRedirectOutput to redirect the entire message printed on the console to a text file, and send an email with the file if the job run fails, the job design looks like:
&lt;BR /&gt;tMysqlInput--main--tMap--tMysqlOutput
&lt;BR /&gt; |
&lt;BR /&gt;onsubjoberror
&lt;BR /&gt; |
&lt;BR /&gt;tSendmail
&lt;BR /&gt;About tRedirectOutput component, please read this topic:
&lt;BR /&gt;
&lt;A href="http://www.talendforge.org/forum/viewtopic.php?pid=108078#p108078" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/forum/viewtopic.php?pid=108078#p108078&lt;/A&gt;
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 29 Nov 2013 01:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279567#M54688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-29T01:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279568#M54689</link>
      <description>Hello, and thank You for your reply 
&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;BR /&gt;tRedirectOutput is omitted from your job design example; how does it fit in to your above design recommendation?</description>
      <pubDate>Fri, 29 Nov 2013 17:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279568#M54689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-29T17:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279569#M54690</link>
      <description>Hi Shong, still interested to know how tRedirectOutput fits into your recommended design 
&lt;BR /&gt;Thanks 
&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;</description>
      <pubDate>Tue, 03 Dec 2013 20:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279569#M54690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-03T20:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get console contents into tSendMail email message content?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279570#M54691</link>
      <description>Hi
&lt;BR /&gt;The job is designed as below:
&lt;BR /&gt;tPreJob--oncomponentOK---&amp;gt;tRedirectOutput
&lt;BR /&gt;tMysqlInput--main--tMap--tMysqlOutput
&lt;BR /&gt; |
&lt;BR /&gt;onsubjoberror
&lt;BR /&gt; |
&lt;BR /&gt;tSendmail
&lt;BR /&gt;Let me know if you have any questions. 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 04 Dec 2013 02:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-console-contents-into-tSendMail-email-message-content/m-p/2279570#M54691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-04T02:43:53Z</dc:date>
    </item>
  </channel>
</rss>

