web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Email with options - B...
Power Automate
Unanswered

Email with options - Body formatting issue

(0) ShareShare
ReportReport
Posted on by 18

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

Categories:
I have the same question (0)
  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @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

  • adehaan11 Profile Picture
    18 on at

    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. 

  • Omally Profile Picture
    8 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard