Google Apps脚本的电子邮件限制是什么? [英] What is the email limit on Google Apps Script?

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

问题描述

有人能告诉我,是否有一个网页列出了Google Apps脚本发送的电子邮件的官方Google限制?

Can someone tell me if there is a webpage that lists the official Google limit on emails sent from a Google Apps Script?

在测试我的小脚本时, 服务调用次数太多:电子邮件(#59),现在我无法发送更多电子邮件

In testing my little script I got a Service invoked too many times: email (# 59) and now I can't send any more emails.

此信息的显而易见的地方在于 MailApp.sendEmail文档。但是,这并没有说明任何限制。

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

我发现关于谷歌论坛的讨论,从2/11/10开始,用户讨论每天限制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应用程序脚本的,与Google应用程序引擎不同,它具有公布的限制。

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 ,以确认Joseph建议的每日限制。

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天全站免登陆