每当我在正文中包含网址时,我都会超出限制:电子邮件正文大小。
无论如何都要绕过这个?
function CustomEmail() {
var ss = SpreadsheetApp.openById("1zajVyOx6y_26yjDmEOFtAZVHc_Mr5UNg1EP8YBjGj0s");
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Follow Up List");
var range = sheet.getRange("A2:C4");
var UserData = range.getValues();
for (i in UserData) {
var row = UserData[i];
var name = row[0];
var email = row[1];
var cell = row[2];
var url = UrlFetchApp.fetch('https://docs.google.com/spreadsheets/d/1zajVyOx6y_26yjDmEOFtAZVHc_Mr5UNg1EP8YBjGj0s/edit?usp=sharing');
var emailbody = url
MailApp.sendEmail(row[1],
"Continual Improvement Reminder for cell - "+ cell,
mybody,{htmlbody:emailbody});
}
}
非常感谢!