MailApp.getRemainingDailyQuota returns an old limit

217 views
Skip to first unread message

Gianfranco

unread,
Aug 24, 2022, 2:57:00 AM8/24/22
to Google Apps Script Community
Hello everybody,
I am using a Google Business and Sgript Apps account to send emails to a number of recipients.
At the address https://developers.google.com/apps-script/guides/services/quotas is reported a maximum limit of 1500 recipients / day.

I did some tests yesterday afternoon and this morning the getRemainingDailyQuota function still returns an old number of recipients (the same of yesterday).

Does the limit refers to 24 hours from the last sending or should it be reset at midnight of the previous day?

Thank you

CBMServices Web

unread,
Aug 24, 2022, 1:29:17 PM8/24/22
to google-apps-sc...@googlegroups.com
The quota resets at midnight every day.




--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/a3e1bf0a-3670-4efc-a959-09825c570c2bn%40googlegroups.com.

Laurie J. Nason

unread,
Aug 25, 2022, 1:01:28 AM8/25/22
to google-apps-sc...@googlegroups.com
Could it be the timezone that is counted as midnight? Might not be the one where you are?


------ Original Message ------
From "CBMServices Web" <cbmserv...@gmail.com>
Date 24/08/2022 20:29:00
Subject Re: [Apps-Script] MailApp.getRemainingDailyQuota returns an old limit

cbmserv...@gmail.com

unread,
Aug 25, 2022, 1:12:24 AM8/25/22
to google-apps-sc...@googlegroups.com

I had observed it reseting at midnight Eastern Time zone (EST). I do not know if this is a global reset or merely for North America.

Reply all
Reply to author
Forward
0 new messages