Google Apps脚本中的每日电子邮件限制是多少? [英] What is the daily email limit in Google Apps Script?

查看:114
本文介绍了Google Apps脚本中的每日电子邮件限制是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我是否有一个网页列出了从Google Apps脚本发送的电子邮件中的正式Google限制(配额)?

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:


服务被调用太多次:电子邮件(#59)

Service invoked too many times: email (# 59)

现在我无法再发送电子邮件

此信息的明显位置是 MailApp.sendEmail文档。但是,这并没有说明限制。

The obvious place for this information would be in the MailApp.sendEmail documentation. But, that does not say anything about a limit.

我发现此Google论坛上的讨论(从2010年2月11日开始),其中用户讨论每天限制100或500封电子邮件,并禁止24小时,但没有一个Google提供正式的答案。

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.

请注意,这是针对Google Apps脚本的,它与Google App Engine的发布限制很好。

Note that this is for Google Apps Script, which is different from the Google App Engine, which does have well published limits.

推荐答案

您可以使用 MailApp.getRemainingDailyQuota() 可以估计当天您可以向不同收件人发送多少电子邮件。

You can use MailApp.getRemainingDailyQuota() to get an "estimate" of how many more emails to distinct recipients you can send for the day.

我今天没有发送任何电子邮件,该函数返回了 500 ,因此可以确认约瑟夫建议的每日限额。

I haven't sent any emails today and the function returned 500, so that confirms the daily limit suggested by Joseph.

这篇关于Google Apps脚本中的每日电子邮件限制是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆