谁能告诉我是否有一个网页列出了 Google Apps 脚本发送的电子邮件的官方 Google 限制(配额)?
在测试我的小脚本时,我遇到了错误:
Service invoked too many times: email (# 59)
现在我无法再发送任何电子邮件。
此信息的明显位置是 MailApp.sendEmail documentation 。但是,这并没有说明任何限制。
我找到了this discussion on the google forum从 2010 年 2 月 11 日起,用户讨论了每天 100 或 500 封电子邮件的限制,以及 24 小时的禁令,但 Google 没有人提供正式答案。
请注意,这是针对 Google Apps 脚本的,它与 Google App Engine 不同,后者确实有明确发布的限制。
最佳答案
您可以使用MailApp.getRemainingDailyQuota()
“估计”当天您还可以向不同收件人发送多少封电子邮件。
我今天没有发送任何电子邮件,函数返回 500
,因此确认了 Joseph 建议的每日限额。
关于email - Google Apps 脚本中的每日电子邮件限制是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2744520/