Registration Mulher na Roda


Skrevet af d. 16. February, 2020

function sendEmail(e) { //response //getRespondentEmail() var html = HtmlService.createHtmlOutputFromFile(“email.html”); var htmlText = html.getContent(); //logger.log(HtmlText); var emailTo = e.response.getRespondentEmail(); var subject =”Thanks for your registration at Mulher na Roda 2020″; var textBody = “Your registration has been made without problem, we are looking forward to see you, for more info check our facebook eventhttps://www.facebook.com/events/1489888664494801/” var options = { Htmlbody : HtmlText }; if(emailTo !== Undefined){ GmailApp.sendEmail(emailTo, subject, textbody, options) } }