检查 G Suite 教育版和公益版每天发邮件限制数的方法
检查 Google Workspace 教育版 / G Suite 教育版 / Google Workspace for Education Fundamentals / Google Workspace 公益版 / G Suite 公益版每天发邮件限制数的方法
代码:
function emailQuota(){ var emailQuotaRemaining = MailApp.getRemainingDailyQuota(); Logger.log("Remaining email quota: " + emailQuotaRemaining); return "Remaining email quota: " + emailQuotaRemaining; }
返回结果:
1 限制 100
10:22:00 AM Notice Execution started 10:22:00 AM Info Remaining email quota: 100 10:22:01 AM Notice Execution completed
2 限制 1500
10:22:00 AM Notice Execution started 10:22:00 AM Info Remaining email quota: 1500 10:22:01 AM Notice Execution completed