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
05-10-2018 02:40 AM
IF so, then why are you using this watermark in that statement.
In email you can directly put it as email.watermark wherever you want.
I dont understand that usage in var body.
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2018 02:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2019 04:40 AM
Hi,
if \n\n doesn't work you can use '%0D%0A'
it works for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 11:04 PM
Use,
template.print("Please let us know why you are very satisfied: ");
template.print('<p> </p>');
template.print('email.watermark;');