email - Google Apps 脚本中的每日电子邮件限制是多少?

标签 email google-apps-script

谁能告诉我是否有一个网页列出了 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/

相关文章:

google-apps-script - 使用EmbeddedChartBuilder和 'getting columns are out of bounds'

php - 为什么从我的 Vagrant 邮箱用 PHP 发送邮件这么慢?

javascript - 循环遍历应用程序脚本中的 Switch 语句

google-apps-script - 如何通过应用程序脚本在特定文件夹中创建电子表格

google-apps-script - Google sheets 批量隐藏行的脚本

google-apps-script - Google Apps 脚本想要不受限制的范围

.net - 在 System.Net.Mail.SendCompletedEventHandler 中获取电子邮件地址

php - 在 Laravel 的邮件库中设置 SendGrid 类别

javascript - Gmail 发送按钮上的 event.PreventDefault

javascript - 如何为 Chrome 扩展添加登录/电子邮件页面?