How To Highlight Email Html Text In Google Apps Script?
I'm using a script to email a confirmation after a google form is filled out. I am using HTML in the email and want to highlight a few lines in yellow. I am using the code below
Solution 1:
You'll need to either escape your quotes with backslashes or use apostrophes instead for the HTML attributes.
Also, there's probably no reason to break out the <br>
tag as you have.
+ "<h2><b><spanstyle='background-color:yellow;'>Content</span></b></h2><br/>"
Post a Comment for "How To Highlight Email Html Text In Google Apps Script?"