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

Community site session details

Session Id : tJA3/16qJY+dUJZVAHi8vm
Power Automate - General Discussion
Answered

Email with options - Body formatting issue

Like (0) ShareShare
ReportReport
Posted on 17 Jun 2020 14:14:53 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

  • Omally Profile Picture
    8 on 23 Jan 2021 at 01:20:27
    Re: Email with options - Body formatting issue

    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.

  • adehaan11 Profile Picture
    18 on 25 Jun 2020 at 11:15:30
    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. 

  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 18 Jun 2020 at 14:28:43
    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete