cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User II
Super User II

@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

3 REPLIES 3
Super User II
Super User II

@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

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. 

Frequent Visitor

I am very new to Automate however I have picked up items quick.  The error I am having is when I select send email with options to send a letter for approval to an external email it is all one block of text.  I type the text in the body with spaces and it send as one solid paragraph.

 

Any help would be great.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (76,014)