我是Google app scirpts的初学者

我想发送反馈页面给用户反馈键入html表单 . 该脚本将我的更改视为电子邮件anwser . 但反馈页面始终使用旧的 form.html 而不是新的 antwortSeite.html 进行渲染 .

我应该在表格中使用 publish 作为 webapp 吗?我使用 Code.gs 文件执行此操作 .

我试过这个,但找不到任何更新 .

fileNameAntwortSeite = 'antwortSeite.html'; // <?= email ?>
var template = HtmlService.createTemplateFromFile(fileNameAntwortSeite);
template.email = 'huibuh@somebody.com'; 
antwortHtml = template.evaluate().getContent()
MailApp.sendEmail({to: kundenEmail, subject: 'test createTemplateFromFile'
                       , htmlBody: antwortHtml});      
return antwortHtml;