# EOL is lost in Read Text File action

**URL:** https://www.finalbuilder.com/forums/t/eol-is-lost-in-read-text-file-action/7736
**Category:** Discussion
**Created:** [October 31, 2025, 9:09am UTC](https://www.finalbuilder.com/forums/t/eol-is-lost-in-read-text-file-action/7736 "2025-10-31T09:09:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![KLund](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/klund/32/939_2.png) [@KLund](https://www.finalbuilder.com/forums/u/KLund)
#### Post date: [October 31, 2025, 9:09am UTC](https://www.finalbuilder.com/forums/t/eol-is-lost-in-read-text-file-action/7736/1 "2025-10-31T09:09:54Z")

</div>

Hi, I have a unittest and I want to send the result to Slack as email.  
It works but formatting is bad due to missing EOL.

How it looks in Slack:  
======================================= Attracs DUnitX Test Results ======================================= Test Run Date/Time: 2025-10-31 05:38:04 Test Statistics: ----------------------------------- Total Tests: 170 Passed: 156 Failed: 0 Errors: 0 Ignored: 14 Memory Leaks: 0 Duration: 350,325 seconds Success Rate: 91,8% Overall Result: ----------------------------------- ✓ ALL TESTS PASSED ======================================= ![](https://www.finalbuilder.com/forums/uploads/default/original/2X/2/2daeaa8b5f19f0bc209d976c02bd6acb51b00b0a.gif)

My implementation:  
The testproject save result to a separate textfile UnitTestResult.txt  
The file like this:

=======================================  
Attracs DUnitX Test Results

Test Run Date/Time: 2025-10-31 05:38:04  
Test Statistics:

Total Tests: 170  
Passed: 156  
Failed: 0  
Errors: 0  
Ignored: 14  
Memory Leaks: 0  
Duration: 350,325 seconds  
Success Rate: 91,8%  
Overall Result:

✓ ALL TESTS PASSED  
======================================= ![](https://www.finalbuilder.com/forums/uploads/default/original/2X/2/2daeaa8b5f19f0bc209d976c02bd6acb51b00b0a.gif)

I have an action Read text file that read in the file to a variable.  
The variable is then included en email body to Slack. But EOL is lost.  
Is there a better way to do this ?

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 2, 2025, 10:40pm UTC](https://www.finalbuilder.com/forums/t/eol-is-lost-in-read-text-file-action/7736/2 "2025-11-02T22:40:14Z")

</div>

If you send the email to yourself does the text look correct? I don’t have the ability to test emailing to slack.
