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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Users online (6,877)