Skip to main content
New Participant
March 24, 2025
Answered

this.mailDoc Javascript How to make font in email Bold and Yellow Highlighted?

  • March 24, 2025
  • 1 reply
  • 196 views

In the body of the email (cMsg:) I need the text and the response inf the form to be Bold and Highlighted in the body of the email. Is this possible? Thank you in advance! 

 

cMsg:  "ITEM 1 - Room Name: " + this.getField("Rooms").valueAsString + " - Cause: " + this.getField("Cause").valueAsString + "\n" +
"" + this.getField("Req").valueAsString + this.getField("quicknote").valueAsString + " " + this.getField("Notes").valueAsString + "\n" +
this.getField("PartLocation1").valueAsString + " Qty: " + this.getField("QtyS").valueAsString + " - Color: " + this.getField("Color").valueAsString + " - Manufacture: " + this.getField("Manufacture").valueAsString + "\n\n" 
Correct answer try67

No, it's not possible. A script can only generate plain-text emails, without formatting.

1 reply

try67
try67Correct answer
Community Expert
March 24, 2025

No, it's not possible. A script can only generate plain-text emails, without formatting.