我想使用https://script.google.com MailApp.sendEmail(recipient,subject,body);
从 Thunkable 发送一封电子邮件,
脚本代码是:
function doPost(e) {
// this function send the post to your email
var recipient = e.parameters.recipient;
recipient = decodeURI(recipient);
var subject = e.parameters.subject;
subject = decodeURI(subject);
var body = e.parameters.body;
body = decodeURI(body);
// GmailApp.sendEmail(recipient,subject,body);
MailApp.sendEmail(recipient,subject,body);
}
我想从 thunkable 内部使用https://script.google.com MailApp.sendEmail(recipient,subject,body);
但我收到状态码 401