Rabu, 23 Maret 2016

Send From Alias in Google Apps Script

function myFunction() {
  var t="to@email.com";
  var s="Subject";
  var b="<b>bold body</b> Thin Body";
  var f= "from@alias.web.id";
 
  GmailApp.sendEmail(t,s,b, {htmlBody: b, from:f});
}

Tidak ada komentar:

Posting Komentar

Foto Propades