有人可以告诉我,是否有一个网页列出了Google Apps脚本发送的电子邮件的官方Google限制?
在测试我的小脚本时,我得到了 Service invoked too many times: email (# 59)
,现在我无法发送 any more emails .
这个信息的显而易见的地方是MailApp.sendEmail documentation . 但是,这并没有说明任何限制 .
我发现this discussion on the google forum从2月11日起,用户讨论了大约100或500封电子邮件/天限制,禁止24小时,但谷歌没有人提供正式答案 .
请注意,这是针对谷歌应用程序脚本,这与谷歌应用程序引擎不同,谷歌应用程序引擎确实有很好的发布限制 .
4 回答
假设"Google Apps Script"指的是Google Apps帐户,那么是http://www.google.com/support/a/bin/answer.py?hl=en&answer=166852 . 限制是每天500个外部收件人 .
您可以使用MailApp.getRemainingDailyQuota()来获取当天可以发送给不同收件人的电子邮件数量的"estimate" .
我今天没有发送任何电子邮件,函数返回
500
,因此确认了Joseph建议的每日限额 .请注意,截至2014年1月30日,配额为每天100封外发电子邮件:
检查https://docs.google.com/macros/dashboard以获取最新值"All quotas are subject to elimination, reduction or change at any time" ...
您可能感兴趣的https://docs.google.com/macros/dashboard在这里您可以看到每个配额;)