Forum Discussion
PaulDeHorn
4 years agoCommunity Member
How to Format the Body of an Email Using Java Script?
Does anyone know how to format the body of email using java script? (Or can point me to a good resource?)
Thanks to the E-Learning Hereos, I've been able to create a working prototype in SL 360 th...
MathNotermans-9
4 years agoCommunity Member
In Javascript you need this code to get a linebreak in HTML formatted email.
escape('\r\n')
So your line for the body looks something like this...var body_start = "Risk 1: "+player.GetVar("ipRisk1")+escape('\r\n')+" and Risk 2: "+ player.GetVar("ipRisk2");
Kind regards,
Math
Related Content
- 10 months ago
- 3 months ago
- 1 year ago
- 9 months ago