Add new line in email content - notification

subramani
Mega Contributor

Hi all,

How to make the fields to print in new line when we use email script.

template.print("<br />") is not working.

6 REPLIES 6

AthinarapuKavya
Tera Contributor

Hi Everyone,

Please type new line message in next line :
For example: I need to print "Thankyou" in one line and "Regards IT services  Information security team"  in other line.

Type to print the message in different lines like this :

 

template.print("Thank you");
template.print("<br />Regards IT Services & Information Security <br />");
 
output:
Screenshot 2023-07-18 at 2.50.57 PM.png

Please mark it helpful If this is the solution you all are looking for
 
 

You can add like this as well to add the spacing between two lines  

 
template.print("<br />Thank you <br />");
template.print("<br />Regards IT Services & Information Security <br />");
 
OUTPUT:
Screenshot 2023-07-18 at 2.56.19 PM.png
 
Please mark it helpful If you got the solution