<?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>question Re: NiFi - How to put Flowfile Content into PutEmail message body in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-How-to-put-Flowfile-Content-into-PutEmail-message-body/m-p/299611#M219764</link>
    <description>&lt;P&gt;I'm happy to see you resolved your issue. Please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&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="mark as solution button" style="width: 331px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5960i4EC112CCAAC11427/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-08-06 at 1.54.47 PM.png" alt="Screen Shot 2019-08-06 at 1.54.47 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2020 20:13:32 GMT</pubDate>
    <dc:creator>cjervis</dc:creator>
    <dc:date>2020-07-13T20:13:32Z</dc:date>
    <item>
      <title>NiFi - How to put Flowfile Content into PutEmail message body</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-How-to-put-Flowfile-Content-into-PutEmail-message-body/m-p/299427#M219676</link>
      <description>&lt;P&gt;I have a line by line list in my flowfile, which records the result of some file processing, somthing like the following;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Data\client1\order100.txt - SUCCESS&lt;/P&gt;&lt;P&gt;C:\Data\client1\order122.txt - ERROR&lt;/P&gt;&lt;P&gt;C:\Data\client1\order323.txt - SUCCESS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't see a way to add this flowfile content to the e-mail MessageBody.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have therefore tried an ExtractText processor with message.body as an attribute and (.*) as the regex. This gets me close, but all the filenames are on the same line, so I end up with this;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Data\client1\order100.txt - SUCCESS C:\Data\client1\order122.txt - ERROR C:\Data\client1\order323.txt - SUCCESS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is not quite the e-mail I'm looking for. Any sensible suggestions welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 13:31:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-How-to-put-Flowfile-Content-into-PutEmail-message-body/m-p/299427#M219676</guid>
      <dc:creator>JonnyL</dc:creator>
      <dc:date>2020-07-09T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - How to put Flowfile Content into PutEmail message body</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-How-to-put-Flowfile-Content-into-PutEmail-message-body/m-p/299453#M219685</link>
      <description>&lt;P&gt;Actually I just put it into the mail as it was.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when the mail arrives, all the newlines are there..!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its just that the attribute doesn't render the newlines...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem solved.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 17:03:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-How-to-put-Flowfile-Content-into-PutEmail-message-body/m-p/299453#M219685</guid>
      <dc:creator>JonnyL</dc:creator>
      <dc:date>2020-07-09T17:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - How to put Flowfile Content into PutEmail message body</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-How-to-put-Flowfile-Content-into-PutEmail-message-body/m-p/299611#M219764</link>
      <description>&lt;P&gt;I'm happy to see you resolved your issue. Please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&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="mark as solution button" style="width: 331px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5960i4EC112CCAAC11427/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-08-06 at 1.54.47 PM.png" alt="Screen Shot 2019-08-06 at 1.54.47 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 20:13:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-How-to-put-Flowfile-Content-into-PutEmail-message-body/m-p/299611#M219764</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2020-07-13T20:13:32Z</dc:date>
    </item>
  </channel>
</rss>

