cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Email with options - Body formatting issue

Helloo, 

 

I am currently using an email with options activity but I am having issues with the formatting of the "body" of the email. 

 

The body is entered as such:

Body Text.JPG

 

 

 

 

 

As you can see, there is spacing between the paragraphs. 

 

When i input this text into the "Email with options" activity, my formatting dissapears and results in:

 

EmailWithOptionsText.png

 

 

 

 

 

 

 

 

 

If needed, I can also have the body in HTML formatting.

Perhaps this will solve the issue? 

 

My Flow:

Compose: - Body = 

trim(first(split(last(split(body('Html_to_text'),'Sehr geehrte/r Requisitioner,')),'melden.')))

Flow1.JPG

 

send email with options in depth.JPG

 

 

 

Thanks for your help. 

 

-A

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Email with options - Body formatting issue

@adehaan11 

 

You are using trim() in Compose-Body Action.

"The Trim function removes all spaces from a string of text except for single spaces between words. "

Remove trim and it will come as it is.

 

Thanks

Hardesh

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Email with options - Body formatting issue

@adehaan11 

 

You are using trim() in Compose-Body Action.

"The Trim function removes all spaces from a string of text except for single spaces between words. "

Remove trim and it will come as it is.

 

Thanks

Hardesh

View solution in original post

Highlighted
Frequent Visitor

Re: Email with options - Body formatting issue

Thanks @Hardesh15 . 

 

I also realised that while trimming it removes the <br>.

 

I added these back into the "Email with options" activity and now it looks better. 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (6,634)