No line-breaks when insert variable in html

:bullseye: What is your goal?

send a raw html email with line breaks in messag body

:thinking: What is the problem & what have you tried?

varialbles replace functions

1 Like

Hi there,

In HTML, you use <br> tags to define line breaks:

<br>
This is line one.<br>
This is line two.<br>
<br>
Best regards,<br>
Henk

Or if you want, use <p> and </p> for paragraph spacing.

Cheers,
Henk

1 Like

HTML does not recognize “standard” new line characters used in plain text - it requires <br> tag or paragraph sections (<p> </p>)

If you have a long string of plain text, you can also use the Markdown to HTML module. It will change all new line characters to
tags.

Thanks. didnt know about this. Make sense to have it though. I’ll test and get back to you.

1 Like

Hi @Carl_Johan_Ahlsell ,

To send a raw HTML email with line breaks in the message body, please set the Body type to Raw HTML.

Then, add your message content using the <br> tag wherever a line break is required.


Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

Welcome to the Make community!

Have you seen these previous discussions?

Your question may already have answers here:

Based on the above, you may have asked a very similar or duplicate question. To get to a solution faster, you can search this forum for existing answers and the Help Centre.

Still require assistance?

If the previous/related discussions are not similar to your question, please reply providing additional details to demonstrate the difference(s) between your question and the ones above.

If you require help understanding or implementing workarounds/solutions in the related discussions, please reply with more details of what you have tried, including screenshots.

@samliew