[英]How do i read another file inside the app script project?
you can get html as string like this:你可以得到 html 作为这样的字符串:
const template = HtmlService.createTemplateFromFile("email_template");
const htmlOutput = template.evaluate();
const contentString = htmlOutput.getContent();
Logger.log(contentString);
Then you can parse contentString.然后你可以解析 contentString。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.