Line Break in Mail script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2017 03:09 AM
Hi ,
My issue is related to Mail script . i need to Print the Following text along with water mark , But i need space of 2 lines after this text . i have tried with the Following for the desired output
template.print()
template.space()
<br/>
<p/>
\n and others
But the output shows like Please let us know why you are very satisfied: :undefinedRef:MSG20671352
var body2 = "Please let us know why you are very satisfied: + '<br/>' + email.watermark;
can some one suggest me how to break the line after the text "Please let us know why you are very satisfied:"
desired output is like :
"Please let us know why you are very satisfied: <user will enter comments here>
email.watermark
Thanks
Durgaprasad
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2017 03:22 AM
what if you put a '\n\n' before the email.watermark ?
Have your tried this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2018 12:20 AM
I tried \n\n but its not working. Please post script which worked for you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2018 12:41 AM
Hi,
Replace <br/> with <br\>. It works.
Mark as correct if it helps you.
Thanks,
Archana

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2018 01:04 AM
Hi,
Did you check on Newlines to html field on mail script.
Thanks.