我的代码中出现此错误,我不确定为什么...任何人都可以帮忙吗???
语法错误。 (第20行,文件“代码”)
Line 18 - var emailSent = row[4]; // Third column
Line 19 - if (emailSent != EMAIL_SENT) { // Prevents sending duplicates
Line 20 - var subject = "Sending emails from a Spreadsheet";
Line 21 - MailApp.sendEmail(emailAddress, subject, message);
Line 22 - sheet.getRange(startRow + i, 3).setValue(EMAIL_SENT);