# How to insert line break into email body please

**URL:** https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329
**Category:** Ask for Help
**Created:** [July 20, 2021, 12:51pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329 "2021-07-20T12:51:48Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [July 20, 2021, 12:51pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/1 "2021-07-20T12:51:48Z")

</div>

Little help please!

I have a button set up to compose an email:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/8/78ecedff6137bd32f7c7efa9ce11e71f19b3bccc.png)

and it uses this template to form the body text:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/5/8540dd117222ba8fd012f3b3331f897bd91c58f0.png)

The line-breaks are correctly inserted when I preview the email using MS Outlook on my Laptop and it all looks great. But when I test it on my iPhone (MS Outlook app for iPhone) the draft email inserts the code ‘  
  
’ as opposed to actually inserting line breaks.

Is there a workaround please? Hopefully without resorting to any Zapier integrations or the like.

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [July 20, 2021, 12:53pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/2 "2021-07-20T12:53:28Z")

</div>

Have you tried using some HTML tags, either `<br>` and/or `<p>`?  
I think most email clients will deal with HTML tags these days.

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [July 20, 2021, 12:55pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/3 "2021-07-20T12:55:26Z")

</div>

Yes, I inserted the standard characters   
 but they just get inserted as text. (at least I tried the br but not the p)

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [July 20, 2021, 12:58pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/4 "2021-07-20T12:58:52Z")

</div>

hmm, you might need a doctype declaration, ie `<!DOCTYPE html>`, so that your email client recognises it as HTML. Sorry, just guessing really - I’ve never used the email action - I use Integromat and/or Apps Script for all my email needs 🙂

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [July 20, 2021, 12:58pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/5 "2021-07-20T12:58:54Z")

</div>

Just tried with the p inside the symbols and that doesn’t work either.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [July 20, 2021, 1:10pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/6 "2021-07-20T13:10:15Z")

</div>

How are you typing your line breaks? Usually 2 spaces and a carriage return works pretty well.

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [July 20, 2021, 1:18pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/7 "2021-07-20T13:18:16Z")

</div>

Hi Jeff,

I didn’t think I was doing anything unusual… but just went back and carefully added 2 spaces and then hit enter to force the line break. Did this in a few places… but still no success.

Could it be the Template is not compatible with forming the body text when composing an email?

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [July 20, 2021, 1:52pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/8 "2021-07-20T13:52:40Z")

</div>

Hmm, I know that works for something like a rich text component, but maybe the email client ignores them. I’d be curious if you added a copy to clipboard button to copy the template and paste it in the email client.

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [July 20, 2021, 3:07pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/9 "2021-07-20T15:07:44Z")

</div>

Maybe that works… but not great for UX… thanks anyway.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [July 20, 2021, 3:19pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/10 "2021-07-20T15:19:42Z")

</div>

I understand. I was just curious how it reacted with a copy to clipboard and a paste. Not as a final UX, but just to test and see if the carriage returns are kept or not.

---

<div class="post-metadata">

### Author: ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)
#### Post date: [July 20, 2021, 3:34pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/11 "2021-07-20T15:34:04Z")

</div>

here is an example how to do it in Glide App: [SAMPLE](https://test-sa.glideapp.io/dl/ewAiAHQAIgA6ADcALAAiAHMAIgA6ACIAbQBlAG4AdQAtADMANABkADYANQAyAGMANgAtADIAYgA5ADgALQA0AGUAZQBlAC0AOQBmADIANwAtAGYANABjADEANAA4AGIAYgAzADQAZAAzAC0AZQA0ADAAYwBlADIAZgA2ADEANgAxADgAMwA5ADMAMgAwADEANgA3ADkAZQBmADcANAAzADQAYQBjAGYAMwA1ACIALAAiAHIAIgA6ACIAYQBJAE4AVQA1AHQAWgBmAFIAdwBTAGoAUABNAFcAYgBVADMAVABOAFAAQQAiACwAIgBuACIAOgAiAGUAbQBhAGkAbAAgAGIAdQB0AHQAbwBuACIAfQA%3D)

---

<div class="post-metadata">

### Author: ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)
#### Post date: [July 20, 2021, 4:52pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/12 "2021-07-20T16:52:04Z")

</div>

@Uzo in your app there’s only the option to add the recipient, not the email body…

---

<div class="post-metadata">

### Author: ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)
#### Post date: [July 20, 2021, 5:05pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/13 "2021-07-20T17:05:25Z")

</div>

You want a body too? 😉 i made this sample to show email response… so just email is good to test it… but no problem to add body…or bunch of other things, and for the topic… you can see that there are breaks in the email text

---

<div class="post-metadata">

### Author: ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)
#### Post date: [July 20, 2021, 5:07pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/14 "2021-07-20T17:07:29Z")

</div>

Just saying because that’s what this thread for

---

<div class="post-metadata">

### Author: ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)
#### Post date: [July 20, 2021, 5:09pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/15 "2021-07-20T17:09:09Z")

</div>

And not only break’s… pictures, colors, links…  
@Lucas_Pires i added the body… you can test it now: [LINK](https://test-sa.glideapp.io/dl/ewAiAHQAIgA6ADcALAAiAHMAIgA6ACIAbQBlAG4AdQAtADMANABkADYANQAyAGMANgAtADIAYgA5ADgALQA0AGUAZQBlAC0AOQBmADIANwAtAGYANABjADEANAA4AGIAYgAzADQAZAAzAC0AZQA0ADAAYwBlADIAZgA2ADEANgAxADgAMwA5ADMAMgAwADEANgA3ADkAZQBmADcANAAzADQAYQBjAGYAMwA1ACIALAAiAHIAIgA6ACIAYQBJAE4AVQA1AHQAWgBmAFIAdwBTAGoAUABNAFcAYgBVADMAVABOAFAAQQAiACwAIgBuACIAOgAiAGUAbQBhAGkAbAAgAGIAdQB0AHQAbwBuACIAfQA%3D)  
it will add breaks in your email body.  
And you can even put HTML there 😉

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [July 20, 2021, 8:37pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/16 "2021-07-20T20:37:49Z")

</div>

Hi Jeff,

So I duplicated the button and changed the action to ‘copy to clipboard’ as you suggested. A nice experiment.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/c/6c85875a62ff277aeaaa663c3fab550ce1f7bbfc.jpeg)

And I was intrigued to discover that on my iPhone, when I copied the message to clipboard and then manually opened the Outlook App, select ‘compose new email’ and then pasted into the body of the new email - it worked perfectly. The breaks were respected (and by the way, I deleted the characters with Br or P and just had the template include standard line breaks).

So somehow the formatting is lost after passing the template text to the ‘compose email’ task.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [July 20, 2021, 10:32pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/17 "2021-07-20T22:32:06Z")

</div>

That eliminates the template as the source of the problem. I’m not sure how the compose email button transfers over to the email client, but it might be a limitation of the OS or email client. Might be worth trying different devices (Android / iOS). Also might be worth changing the default email client (such as Gmail) to see if it’s an issue with Outlook or not.

---

<div class="post-metadata">

### Author: ![Test\_Test](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/test_test/32/30930_2.png) [@Test\_Test](https://community.glideapps.com/u/Test_Test)
#### Post date: [January 14, 2022, 9:57pm UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/18 "2022-01-14T21:57:06Z")

</div>

> [@Darren\_Murphy](#):
>
> Have you tried using some HTML tags, either `<br>` and/or `<p>` ?

How do we use HTML tags inside the “body” section of the “compose email” component?

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [January 15, 2022, 12:06am UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/19 "2022-01-15T00:06:33Z")

</div>

You can type them in or use them as part of a template column.

---

<div class="post-metadata">

### Author: ![Test\_Test](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/test_test/32/30930_2.png) [@Test\_Test](https://community.glideapps.com/u/Test_Test)
#### Post date: [January 15, 2022, 7:42am UTC](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329/20 "2022-01-15T07:42:00Z")

</div>

> [@Jeff\_Hager](#):
>
> use them as part of a template column

Not sure what I am doing wrong. Am I missing another element to be added?  
Tried the following, but always got an email with the HTML code as text

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/4/24dfcd5631d4c90c705602c13af5cfede38b1fac.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/3/436bbb5c713800cb869ee7785ca5c4594f716451.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/5/a532ca9401a53e8e4da413c2933b0eef1de3146d.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/2/d27b409d2dd4413188dad5ad2e4e709b3fbb9407.png)

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/b/2b71075f956b129c55bde394859deb59c773c0da.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/d/9d2719e734af98d33fed919c722c4a743df8a8f4.png)

* * *

Adding screenshot from Outlook, same issue:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/1/81ed15e9bf56f1c3999fa74cc18d05f213c989e7.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/c/9c6723aad8ea6e4d2b8a73eb443c3ef172fe0c97.png)

[Next page](https://community.glideapps.com/t/how-to-insert-line-break-into-email-body-please/29329.md?page=2)
