gmail - Html Mail using Apps Script -


is possible create & send html mails using gas? current mailapp class allows string plaintext body , html code written there displays html source rather rendering content.

the documentation quite explicit, can define html body optional parameter example :

function test(){   mailapp.sendemail('testemail@xx.com', 'subject :test html body','text body', {htmlbody:"this html body test<br><br> in html format"}) } 

Comments