Hi,
I have some plain text with line breaks, when sending an email using "Send an email (v2)" the line breaks are lost.
I'm thinking if I can convert my plain text to html and then send the email my formatting will be retained.
How can this be done? It will need to convert any new lines i.e \r\n to <br>
Solved! Go to Solution.
Hi @garethaw ,
Please try:
replace(triggeroutputs()?['body/body'],decodeUriComponent('%0A'),'<br>')
Best Regards,
Bof
The email output looks like this:
2 Toner Residual (Bk) = 51% Toner Residual (C) = 28% Toner Residual (M) = 1% Toner Residual (Y) = 45%
The content of the email is dynamic "When a new email arrives in a shared mailbox (V2)" so this won't work.
I have also tried the following in my compose action:
replace(triggeroutputs()?['body/body'],'\r\n','<br/>')
Hi @garethaw ,
Please try:
replace(triggeroutputs()?['body/body'],decodeUriComponent('%0A'),'<br>')
Best Regards,
Bof
Bof you are a genius thank you so much!
Must of made about 4topics to fix this problem so really appreciate your help.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
26 | |
26 | |
23 | |
14 | |
10 |
User | Count |
---|---|
62 | |
56 | |
29 | |
28 | |
24 |