Last active
May 31, 2020 07:59
-
-
Save apivat60/e08b1e5b4c9d6dd08d996d15c723f4ce to your computer and use it in GitHub Desktop.
CheckQuotaEmail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function checkQuotaEmail () { | |
var emailQuota = MailApp.getRemainingDailyQuota(); | |
Logger.log("โควต้าอีเมลคงเหลือ:" + emailQuota); | |
MailApp.sendEmail("ใส่อีเมลของท่าน", | |
"แจ้งโควต้าการส่งอีเมล", | |
"สิทธิ์ในการส่งอีเมลของคุณวันนี้เหลือเท่ากับจำนวน "+emailQuota +" ฉบับ"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment