NiFi - How to put Flowfile Content into PutEmail message body
I have a line by line list in my flowfile, which records the result of some file processing, somthing like the following;
C:\Data\client1\order100.txt - SUCCESS
C:\Data\client1\order122.txt - ERROR
C:\Data\client1\order323.txt - SUCCESS
I can't see a way to add this flowfile content to the e-mail MessageBody.
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;
C:\Data\client1\order100.txt - SUCCESS C:\Data\client1\order122.txt - ERROR C:\Data\client1\order323.txt - SUCCESS
Which is not quite the e-mail I'm looking for. Any sensible suggestions welcome.

