I want to get the appropriate number of emails that can be sent under the Gsuite contract.

Asked 1 years ago, Updated 1 years ago, 101 views

This is my first time to use it.
I look forward to your kind cooperation.
Currently, the number of remaining Gmail emails that can be sent from the spreadsheet script is
MailApp.getRemainingDailyQuota()
as a function to check I'm going to google it and use the code written on the website below
I used it.

Reference Code

 function getRemainingDailyQuota(){

  max = MailApp.getRemainingDailyQuota();
  Browser.msgBox("Today's number of transmissions is ""+max+"""");

}

Source URL: http://googlestyle.client.jp/mail_services/class_mailapp.html

However, instead of the original maximum number (I have a Gsuite contract, so the maximum number is 2000),
For some reason, I get a return value with the upper limit of 100 letters.
When I asked Google, they answered that the script was not supported, so I was in trouble.
If anyone knows my problem, please let me know.

My contract is Gsuite, so I can send 2,000 emails a day.
It's only been about a week since I started Gsuite.
I asked Google, but they answered as follows.Even if this is the trial period,
I think the limit is 500 instead of 100.

If anyone knows, I'd appreciate it if you could help me.
I look forward to your kind cooperation.

--------------------------------
The number of transmissions per day is listed in the help article below.

G Suite can send up to 2000 copies after this contract
Up to 500 copies can be sent during the G Suite trial period

100 destinations per email
Number of addresses in the To, Cc, and Bcc columns of a single email, including those sent using smtp-relay.gmail.com or smtp.gmail.com*

Note that G Suite does not change these restrictions for specific accounts.
Therefore, if your script is targeted at a free Google account or not, it appears to be an incident on your script.

I am sorry to confirm your understanding of the inquiry, but is the system you are Apps Script?

We are very sorry, but we do not provide direct support for Apps Script as it is provided by developers.
----------------------------------------------------------------

google-apps-script gmail

2022-09-30 17:22

1 Answers

2000 per day / 500 trials are General limit for sending mail to G Suite.

Google Apps Script has a different limitation, 1500 per day on a destination basis.Just looking at this is not self-evident, but comparing Google Apps free limit to the value during the first link trial period, Google Apps Script will be the same as Google Apps free limit.

Based on what you have tried, MailApp.getRemainingDailyQuota() returns 100 for free and 1500 for paid.


2022-09-30 17:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.