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:08 AM
hi can you please share me the script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2018 02:16 AM
HI,
before that can you just outline how your email should look.
Give ,me a paint view i will give you code.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2018 02:22 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2018 02:26 AM
Hi,
If i assume properly, you just want a space, you dont want it on new line, if so then use below
var body2 = "Please let us know why you are very satisfied: "+ email.watermark;
See there is space between : and ".
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2018 02:31 AM
no i want the watermark after two lines