<?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: tSendMail error on message newline in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346784#M114142</link>
    <description>Hi blub,&lt;BR /&gt;Would you mind showing us your the screenshot of message part in tSendMail component?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Tue, 10 Nov 2015 08:20:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-10T08:20:42Z</dc:date>
    <item>
      <title>tSendMail error on message newline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346779#M114137</link>
      <description>Hello,&lt;BR /&gt;I use a tSendMail component and i have a problem with message content.&lt;BR /&gt;In my message, when there is a new ligne there is a java error in source code.&lt;BR /&gt;So, I replace new ligne by \n and it's OK. &lt;BR /&gt;How i can replace new line by \n automatically ? ( or it's an option in settings )&lt;BR /&gt;Message content OK&lt;BR /&gt;"Hello,"&lt;BR /&gt;+"\n\nWorld"&lt;BR /&gt;Message content NOK&lt;BR /&gt;"Hello,"&lt;BR /&gt;World"&lt;BR /&gt;Thanks !&lt;BR /&gt;Arnaud</description>
      <pubDate>Thu, 17 Jul 2014 09:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346779#M114137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-17T09:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: tSendMail error on message newline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346780#M114138</link>
      <description>Hi Arnaud,
&lt;BR /&gt;Talend can't change new line char automatically in tSendMail component, we have to specify it manually...
&lt;BR /&gt;if required, during data flow you can replace some char by using EReplace or tReplace or regular expression by \n but for this also you need to define some rule... this can't happen automatically.
&lt;BR /&gt;vaibhav</description>
      <pubDate>Thu, 17 Jul 2014 09:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346780#M114138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-17T09:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: tSendMail error on message newline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346781#M114139</link>
      <description>Hi, 
&lt;BR /&gt;You can set your message as Context Vaule then sending them to tSendMail. 
&lt;BR /&gt;Please see my Screenshots 
&lt;BR /&gt;Let me know if it is OK with you. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEKn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137281i11A9165150F56B24/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEKn.png" alt="0683p000009MEKn.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEWI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139268i07A80EB4BD981B88/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEWI.png" alt="0683p000009MEWI.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEXb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129536iBC427A31FC39D216/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEXb.png" alt="0683p000009MEXb.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 17 Jul 2014 10:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346781#M114139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-17T10:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: tSendMail error on message newline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346782#M114140</link>
      <description>Hi, 
&lt;BR /&gt;You can see my screeshots. 
&lt;BR /&gt;This email is sending at the end of the job. The message content is just text and not a result of an another component. 
&lt;BR /&gt;There is code on error component : 
&lt;BR /&gt;String message_tSendMail_2 = (("Bonjour 
&lt;BR /&gt;Le replay est terminé.") == null || "".equals("Bonjour 
&lt;BR /&gt;Le replay est terminé.")) ? "\"\"" : ("Bonjour 
&lt;BR /&gt;Le replay est terminé.") ; 
&lt;BR /&gt;You can see newline is not replace by \n automaticaly. 
&lt;BR /&gt;I use TOS 5.5.1, may be it's a bug ? 
&lt;BR /&gt;However, I use the button "..." at the right textarea message content because I thought, when the popup message content is validate, Talend replace newline by \n 
&lt;BR /&gt;Thanks for your help, 
&lt;BR /&gt;Arnaud 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDaF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134497iFAC11A46E49AF0ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDaF.png" alt="0683p000009MDaF.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEXu.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149814iAE28352E7608CA87/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEXu.jpg" alt="0683p000009MEXu.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 17 Jul 2014 11:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346782#M114140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-17T11:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: tSendMail error on message newline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346783#M114141</link>
      <description>I use&amp;nbsp;Talend Open Studio for Data Integration&amp;nbsp;Version 6.0.1 and have the same problem. 
&lt;BR /&gt;In the component tSendMail (Message) is it not possible to use a new line with \n or "|" or whatever. 
&lt;BR /&gt;In Talend Version 5.X thats was no problem. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEaE.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141497iEFA4ED692BF7E66E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEaE.jpg" alt="0683p000009MEaE.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 09 Nov 2015 16:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346783#M114141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-09T16:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: tSendMail error on message newline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346784#M114142</link>
      <description>Hi blub,&lt;BR /&gt;Would you mind showing us your the screenshot of message part in tSendMail component?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 10 Nov 2015 08:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346784#M114142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-10T08:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: tSendMail error on message newline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346785#M114143</link>
      <description>I know this is an old thread but i am trying to do this and I am having trouble with the following...&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;You can set your message as Context Vaule then sending them to tSendMail.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Please see my Screenshots&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&amp;nbsp;How do I set the results of tFixedFlowInput to a context variable? &amp;nbsp;I am not seeing the results of tFixedFlowInput when I hit ctl+space</description>
      <pubDate>Wed, 25 Jan 2017 18:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346785#M114143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T18:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: tSendMail error on message newline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346786#M114144</link>
      <description>I accomplished this using tJava instead of tFixedFlow</description>
      <pubDate>Wed, 25 Jan 2017 19:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-error-on-message-newline/m-p/2346786#M114144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T19:34:46Z</dc:date>
    </item>
  </channel>
</rss>

