03-23-2023 03:50 PM
Hello friends!
Does anyone know a way to add some line breakers (\n) into an body´s email?
Example,
_v1+" “+_v2+” "+_v3 has this output:
1 2 3
how can i have this output:
1
2
3
Note- i´ve tried plain and HTML text.
I´ve tried several ways inside Snaplogic’s expressions tool, but without success (\n is simply ignored).
Any hint is welcome, even if i have to add other snaps.
Cheers!
03-27-2023 06:51 AM
Hello @AngeloRAlves ,
You will need to use <br>. below is given one example, which I think can help you how the expression can be composed correctly:
03-28-2023 02:30 PM
Agreed with @ljupcho_machkovski.
@AngeloRAlves - Please write a html script in the email sender snap and put the tag as <br>
for line breaks.
03-28-2023 03:00 PM
Can someone please suggest how to add line break in Plain test email?
Thanks
3 weeks ago
The following worked for me using the Email Sender snap with Plain text for the body:
$body = "This is a test body.\nThis is a line after a line break."
$body.replaceAll('\\n','\n')