问题
I've just started using Google Apps script. I'm using it to send emails from a Google Apps spreadsheet. In the email I would like some parts made bold and/or italicised but I can't find out how to do it.
Thanks for any help...
PS This is how I'm concatenating strings shoud it be of interest:
var message = "Hi " + fname + ",\n\nJust letting you know that we have your job targeted for " + targetDate+ ".\n\nPlease let w know if that is unsuitable.\n\nThanks, Gregg";
回答1:
You have to use the html body option, see doc here, a search on this forum will return a lot of practical examples...
来源:https://stackoverflow.com/questions/21794764/how-to-format-text-bold-italics-in-a-gmail-email-sent-via-google-apps-script