Google Apps 脚本中的每日电子邮件限制是多少?
有人可以告诉我是否有一个网页列出了 Google Apps 脚本发送的电子邮件的官方 Google 限制(配额)?
在测试我的小脚本时,我遇到了一个错误:
服务调用次数过多:电子邮件 (# 59)
,现在我无法再发送任何电子邮件。
此信息的明显位置是 MailApp.sendEmail 文档。但是,这并没有说明任何限制。
我在 Google 论坛上找到了此讨论< /a> 从 2010 年 2 月 11 日开始,用户讨论了每天 100 或 500 封电子邮件的限制,以及 24 小时的禁令,但谷歌没有人提供官方答案。
请注意,这是针对 Google Apps 脚本的,它与 Google App Engine 不同,后者确实有明确发布的限制。
Can someone tell me if there is a webpage that lists the official Google limit (Quotas) on emails sent from a Google Apps Script?
In testing my little script I got an error:
Service invoked too many times: email (# 59)
and now I can't send any more emails.
The obvious place for this information would be in the MailApp.sendEmail documentation. But, that does not say anything about a limit.
I found this discussion on the google forum from 2/11/10 where users discuss about a 100 or 500 emails/day limit, with a 24 hour ban, but no one from Google provided an official answer.
Note that this is for Google Apps Script, which is different from the Google App Engine, which does have well published limits.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可以使用
MailApp.getRemainingDailyQuota()
获取“估算值” “当天您还可以向不同收件人发送多少封电子邮件。我今天没有发送任何电子邮件,函数返回了
500
,因此确认了 Joseph 建议的每日限额。You can use
MailApp.getRemainingDailyQuota()
to get an "estimate" of how many more emails to distinct recipients you can send for the day.I haven't sent any emails today and the function returned
500
, so that confirms the daily limit suggested by Joseph.请注意,截至 2014 年 1 月 30 日,配额为每天 100 封外发电子邮件:
检查 https://docs.google.com/macros/dashboard 以获取最新值“所有配额都可能随时取消、减少或更改”……
Note that as of 30th January 2014 the quota is 100 outgoing emails per day:
Check https://docs.google.com/macros/dashboard for the latest values as "All quotas are subject to elimination, reduction or change at any time"…
您可能对 https://docs.google.com/macros/dashboard 感兴趣
在这里您可以看到每个配额;)
You may be interested in https://docs.google.com/macros/dashboard
Here you can see every quota ;)
我没有这方面的参考,但根据我的经验,我总是通过获取配额并将其除以指定配额限制中的秒数来计算我的最小循环持续时间。例如,如果我有一个配额,规定我每天只能看漂亮女孩 86400 次,那么我会尽力确保每秒只看漂亮女孩一次。我很清楚,谷歌不会等你达到每日限制才采取行动,他们似乎会计算配额使用的变化率,并在你超过它时关闭你。
I don't have reference for this but in my experience I always calculate my minimum loop duration by taking the quota and dividing it by the number of seconds in the specified quota limit. So for example if I have a quota that says that I can look at a pretty girl only 86400 times a day then I try to make sure I only look at pretty girls once per second. It's clear to me that Google does not wait for you to reach a daily limit before they act they seem to calculate the rate of change of quota usage and shut you down when you exceed it.
假设“Google Apps 脚本”您指的是 Google Apps 帐户,那么可以在 http://www.google.com/support/a/bin/answer.py?hl=zh-CN&answer=166852。每天的外部收件人限制为 500 个。
Assuming that by "Google Apps Script" you are referring to a Google Apps account, then yes there is at http://www.google.com/support/a/bin/answer.py?hl=en&answer=166852. The limit is 500 external recipients per day.