Last active
May 6, 2020 10:52
-
-
Save krooluang/a984c35df44a6e42fd8136bd4a5f2c8f to your computer and use it in GitHub Desktop.
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("your@gmail.com", | |
"แจ้งโควต้าการส่งอีเมล", | |
"สิทธิ์ในการส่งอีเมลของคุณวันนี้เหลือเท่ากับจำนวน "+emailQuota +"ฉบับ"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment