📅  最后修改于: 2022-03-11 14:56:56.701000             🧑  作者: Mango
function sendEmails() {
var ss=SpreadsheetApp.openById("ssid");
var sheet=ss.getSheetByName('**********Your sheet name***********');
var startRow=2;
var numRows=2;
var dataRange=sheet.getRange(startRow, 1, numRows, 2);
//changed to getDisplayValues
var data=dataRange.getDisplayValues();
//changed to for loop
for (var i=0;i