I have a mail text body of multi line in config file and I want to send the same in email. My problem is that while sending it in email, it doesn’t read the Newline (ple refer below). If I assign this value within a workflow then it works. If I remove the Env.Newline then everything comes in a single line. Any help in how to read a text from a config file and send it in multi line is highly appreciated.
Output while reading from config file
“Hi,” + Environment.NewLine + Environment.NewLine + “Pls find the XXXX of this month and last 2 months attached with the email.” + Environment.NewLine + Environment.NewLine + “Sheet2 tab - Gives the chart view of YYYY”
We can place the text or paragraph we want without environment.newline and directly use new lines or blank lines as a text paragraph Ima .txt file using notepad
And we can place the file path of that txt file in config file and call them and use READ TEXT FILE activity and get the output with a variable of type string named str_input
—now we can use this variable inside the body property as input