Hi,
I'm having troubles in formatting the body of my e-mail I'm trying to send using Scriptrunner "Send custom e-mail" via post-function. I'm trying to get at least new lines but none of the ways work. This is my script in email template:
Dear Sirs,
First <% print "\n" %>
Second <% print "\\n" %>
Third <% out <<"\n" %>
Fourth <% out <<"\\n" %>
Fifth \n
Sixth \\n
This is the body, and should be a new line before and after
Regards,
<% out << issue.reporter?.displayName %>
But instead of any formatted email I get a single line:
"Dear Sirs, First Second Third Fourth \n Fifth Sixth \n This is the body, and should be a new line before and after Regards, John Smith"
Any help?
Thank you in advance