调用app函数时出现脚本错误

时间:2016-11-05 10:11:15

标签: javascript

function sendalert(e){

    var sheet = SpreadsheetApp.getActiveSheet();
    var emailAddress = "avisekh12310@gmail.com";
    var subject = "Price Alert - " + e ;
    var message = "Hi Price alert triggerred," + e;

    MailApp.sendEmail(emailAddress, subject, message);

}

脚本在行

中出现illegal character错误
MailApp.sendEmail(emailAddress, subject, message);

0 个答案:

没有答案