Nidhiya / gmail-delay-send

Automatically exported from code.google.com/p/gmail-delay-send
0 stars 0 forks source link

Script fails to send scheduled email #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Schedule an email to send using the format -- July 2, 2013 6:00 am
2.
3.

What is the expected output? What do you see instead?
The mail stays in the DELAY_SEND label as a draft and does not send.

The script puts out the following message details:
Attempted to execute command: function () { return GmailApp.getUserLabels(); } 
5 times without success. Error message: Exception: Service invoked too many 
times for one day: gmail read.. Aborting :-(

What version of the product are you using? On what operating system?
Using 0.7.7 on Windows 7 operating system, using Chrome browser.

Please provide any additional information below.

I just downloaded this app a few weeks ago. Was working fine until just 
recently.

Original issue reported on code.google.com by l...@lisahines.com on 2 Jul 2013 at 8:21

GoogleCodeExporter commented 9 years ago
Hello Lisa,

These errors are caused by the script not being able to contact the Google 
script servers. Unfortunately there isn't anything we can do about the errors 
as we already wait and try again in a few seconds.

If you receive these messages once in a while it's nothing to worry about, the 
script will simply retry the next time it happens. If you start to get a lot of 
them it could be an indication that something is wrong.

I'm going to close the issue, but please re-open if you continue to have 
problems.

Thanks!
-Blair

Original comment by blairk...@gmail.com on 2 Jul 2013 at 8:31

GoogleCodeExporter commented 9 years ago
Thanks for the quick reply. It's still not working for any of the emails I 
label. Just tried it again today. Do I need to wait for another day? I'm 
confused as to how long I should wait for it to work again. I use this for my 
business, and if it's not working at random for extended periods of time, then 
it's not reliable and I won't be able to use it. 

Can you please provide additional information as to what you mean by "a lot of 
them?"  Thanks.
Lisa

Original comment by l...@lisahines.com on 2 Jul 2013 at 8:42

GoogleCodeExporter commented 9 years ago
Hey Lisa,

I'm sorry, I was looking at another issue and got this one confused. Ignore 
what I posted before.

Because the scripts run on a shared resource (eg. everybody shares time on 
various computers) Google limits how many time a script or service can be 
invoked in 24 hours. The message that you got is saying that you have called a 
certain function too many times in the 24 hours.

Usually this can be avoided 2 ways. One problem could be that you have multiple 
instances of the script running. Did you install more than one version?  I 
might suggest that you un-install everything with these steps: 
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendUninstall#How_to_u
n-install_if_you_have_already_deleted_spreadhsheet THen make sure you install a 
single version instead.

The other way to avoid the issue is to lower the requency in which the script 
runs. You can set the trigger timer to 10 minutes instead of 5 which will make 
the script run fewer times.

Unfortunalty because you got this error for the next 24 hours you'll not be 
able to use the script as google has 'locked you out'. But making the changes 
above should set you up for tomorrow.

-Blair

Original comment by blairk...@gmail.com on 2 Jul 2013 at 8:51