Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Line Break in Mail script

dpi
Kilo Contributor

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

18 REPLIES 18

yes but unable to realize whats required

try once

find_real_file.png

 

Thanks

This will work in mail but when we add a hyperlink for "Mailto" this is not working

Show me your code once

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

 

In this case only '\n' should work.

Thanks,

Ashutosh