etkin / gmail-delay-send

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

Receiving error all the time #169

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
=======================================
=== PLEASE READ BEFORE FILING ISSUE:
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendDebugging_8
=======================================

What steps will reproduce the problem?
I'm receiving this error every 5 min:

Error:Error: Gmail Delay Send failed to connect to one of the Google Services. 
This is OK if it happens infrequently, the script will run again in a few 
minutes. See here to avoid receiving these notifications: 
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendOptions_8#Error_No
tifications. Function being called: function () { GmailApp.sendEmail(to, 
subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, from:from, 
attachments:attach, name:name}); } .Error message: Exception: Failed to send 
email: no recipient --Stack:    at Services (GmailDelaySendWeb):209 
(executeCommand) at Services (GmailDelaySendWeb):107 (serviceSendEmailMessage) 
at Mail (GmailDelaySendWeb):66 (sendMessage) at Main (GmailDelaySendWeb):160 
(tryToSendMessage) at Main (GmailDelaySendWeb):188 (processThread) at Main 
(GmailDelaySendWeb):206 (processThreads) at Main (GmailDelaySendWeb):24 (main)

Original issue reported on code.google.com by rafare...@gmail.com on 28 Jul 2014 at 1:26

GoogleCodeExporter commented 9 years ago
Mon Jul 28 06:55:12 PDT 2014 INFO: Saving preferences from form object which 
contains:
Mon Jul 28 06:55:12 PDT 2014 INFO: - localzone => default
Mon Jul 28 06:55:12 PDT 2014 INFO: - trigger_min => 10
Mon Jul 28 06:55:12 PDT 2014 INFO: - require_label => false
Mon Jul 28 06:55:12 PDT 2014 INFO: - email_receipts => true
Mon Jul 28 06:55:12 PDT 2014 INFO: - triggers => true
Mon Jul 28 06:55:12 PDT 2014 INFO: - debugging => true
Mon Jul 28 06:55:12 PDT 2014 INFO: - delim => @
Mon Jul 28 06:55:12 PDT 2014 INFO: - error_notification => true
Mon Jul 28 06:55:12 PDT 2014 INFO: User preferences object empty.. reloading..
Mon Jul 28 06:55:12 PDT 2014 INFO: Loading default property for key:bcc value: 
false
Mon Jul 28 06:55:12 PDT 2014 INFO: Refreshed preference object now contains:
Mon Jul 28 06:55:12 PDT 2014 INFO: -- Prefs --
Mon Jul 28 06:55:12 PDT 2014 INFO: Triggers: true
Mon Jul 28 06:55:12 PDT 2014 INFO: Email Receipts: true
Mon Jul 28 06:55:12 PDT 2014 INFO: Error Notifications: true
Mon Jul 28 06:55:12 PDT 2014 INFO: Debugging: true
Mon Jul 28 06:55:12 PDT 2014 INFO: Top level Name: GmailDelaySend
Mon Jul 28 06:55:12 PDT 2014 INFO: Label Required: false
Mon Jul 28 06:55:12 PDT 2014 INFO: Error Label Name: GmailDelaySend/Errors
Mon Jul 28 06:55:12 PDT 2014 INFO: To Send Label Name: GmailDelaySend/ToSend
Mon Jul 28 06:55:12 PDT 2014 INFO: Trigger Minutes: 10
Mon Jul 28 06:55:12 PDT 2014 INFO: Delim: @
Mon Jul 28 06:55:12 PDT 2014 INFO: TimeZone: default
Mon Jul 28 06:55:12 PDT 2014 INFO: getHTMLRegex: /^([\s\S]*?>)([^<]+)(<[\s\S]*)/
Mon Jul 28 06:55:12 PDT 2014 INFO: getTextRegex: /^\s*@([^<]*)(<[\s\S]*)/
Mon Jul 28 06:55:12 PDT 2014 INFO: ------------
Mon Jul 28 06:55:12 PDT 2014 INFO: Setting up trigger for function:main 
minutes: 10
Mon Jul 28 06:55:12 PDT 2014 INFO: Trigger has not already been set for 
function:main. Setting now to every: 10 minutes
Mon Jul 28 06:55:17 PDT 2014 INFO: Starting main()
Mon Jul 28 06:55:17 PDT 2014 INFO: User preferences object empty.. reloading..
Mon Jul 28 06:55:17 PDT 2014 INFO: Loading default property for key:bcc value: 
false
Mon Jul 28 06:55:17 PDT 2014 INFO: -- Prefs --
Mon Jul 28 06:55:17 PDT 2014 INFO: Triggers: true
Mon Jul 28 06:55:17 PDT 2014 INFO: Email Receipts: true
Mon Jul 28 06:55:17 PDT 2014 INFO: Error Notifications: true
Mon Jul 28 06:55:17 PDT 2014 INFO: Debugging: true
Mon Jul 28 06:55:17 PDT 2014 INFO: Top level Name: GmailDelaySend
Mon Jul 28 06:55:17 PDT 2014 INFO: Label Required: false
Mon Jul 28 06:55:17 PDT 2014 INFO: Error Label Name: GmailDelaySend/Errors
Mon Jul 28 06:55:17 PDT 2014 INFO: To Send Label Name: GmailDelaySend/ToSend
Mon Jul 28 06:55:17 PDT 2014 INFO: Trigger Minutes: 10
Mon Jul 28 06:55:17 PDT 2014 INFO: Delim: @
Mon Jul 28 06:55:17 PDT 2014 INFO: TimeZone: default
Mon Jul 28 06:55:17 PDT 2014 INFO: getHTMLRegex: /^([\s\S]*?>)([^<]+)(<[\s\S]*)/
Mon Jul 28 06:55:17 PDT 2014 INFO: getTextRegex: /^\s*@([^<]*)(<[\s\S]*)/
Mon Jul 28 06:55:17 PDT 2014 INFO: ------------
Mon Jul 28 06:55:17 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:17 PDT 2014 INFO: Service cache hit
Mon Jul 28 06:55:17 PDT 2014 INFO: Service cache hit
Mon Jul 28 06:55:17 PDT 2014 INFO: Searching for emails with this string: " 
in:drafts -label:GmailDelaySend/Errors "
Mon Jul 28 06:55:18 PDT 2014 INFO: Found 9 threads to process
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: User timezone:default
Mon Jul 28 06:55:18 PDT 2014 INFO: Loading timezone from calendar: 
America/Sao_Paulo
Mon Jul 28 06:55:18 PDT 2014 INFO: Converted:Mon Jul 21 2014 06:44:28 GMT-0700 
(PDT) to user time:Mon Jul 21 2014 10:44:28 GMT-0700 (PDT)
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Is HTML email:true
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Parsing date and body from email with 
regex:/^([\s\S]*?>)([^<]+)(<[\s\S]*)/
Mon Jul 28 06:55:18 PDT 2014 INFO: Match[0] substring:
@07/28 8:17am

Mon Jul 28 06:55:18 PDT 2014 INFO: Match[1] substring:
Mon Jul 28 06:55:18 PDT 2014 INFO: Match[2] substring:@07/28 8:17am
Mon Jul 28 06:55:18 PDT 2014 INFO: Match[3] substring:

Atualizar alocação para segunda que vem, todas as semanas até mudar para
Mon Jul 28 06:55:18 PDT 2014 INFO: Found possible datestring: @07/28 8:17am
Mon Jul 28 06:55:18 PDT 2014 INFO: Returning date_string: 07/28 8:17am
Mon Jul 28 06:55:18 PDT 2014 INFO: Date String: 07/28 8:17am Timestamp on 
message: Mon Jul 21 2014 10:44
Mon Jul 28 06:55:18 PDT 2014 INFO: Date to send: Mon Jul 28 2014 08:17
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache hit
Mon Jul 28 06:55:18 PDT 2014 INFO: User timezone:default
Mon Jul 28 06:55:18 PDT 2014 INFO: Loading timezone from calendar: 
America/Sao_Paulo
Mon Jul 28 06:55:18 PDT 2014 INFO: Converted:Mon Jul 28 2014 06:55:18 GMT-0700 
(PDT) to user time:Mon Jul 28 2014 10:55:18 GMT-0700 (PDT)
Mon Jul 28 06:55:18 PDT 2014 INFO: Message date ms: 1406560620000 + Current 
time ms:1406570123000
Mon Jul 28 06:55:18 PDT 2014 INFO: Detected time to send message: true. Send 
Date: Mon Jul 28 2014 08:17 Current user date:Mon Jul 28 2014 10:55
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache miss
Mon Jul 28 06:55:18 PDT 2014 INFO: Service cache hit
Mon Jul 28 06:55:18 PDT 2014 INFO: Is HTML email:true
Mon Jul 28 06:55:18 PDT 2014 INFO: == Sending mail ==
Mon Jul 28 06:55:18 PDT 2014 INFO: To:
Mon Jul 28 06:55:18 PDT 2014 INFO: Subject: Fwd: Atualizar cadastro vans
Mon Jul 28 06:55:18 PDT 2014 INFO: Body length: 1305
Mon Jul 28 06:55:18 PDT 2014 INFO: HTML body length: 1305
Mon Jul 28 06:55:18 PDT 2014 INFO: CC:
Mon Jul 28 06:55:18 PDT 2014 INFO: BCC:
Mon Jul 28 06:55:18 PDT 2014 INFO: From: rafareino@gmail.com
Mon Jul 28 06:55:18 PDT 2014 INFO: Attachments length: 0
Mon Jul 28 06:55:18 PDT 2014 INFO: Name: Rafael Reinoldes
Mon Jul 28 06:55:18 PDT 2014 INFO: ==================
Mon Jul 28 06:55:18 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:20 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:21 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:23 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:24 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:26 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:27 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:29 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:30 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:32 PDT 2014 INFO: Exception:Exception: Failed to send email: 
no recipient thrown executing function:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
Mon Jul 28 06:55:33 PDT 2014 INFO: Gmail Delay Send failed to connect to one of 
the Google Services. This is OK if it happens infrequently, the script will run 
again in a few minutes. See here to avoid receiving these notifications: 
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendOptions_8#Error_No
tifications. Function being called:
function () {
GmailApp.sendEmail(to, subject, body, {htmlBody:htmlBody, cc:cc, bcc:bcc, 
from:from, attachments:attach, name:name});
}
.Error message: Exception: Failed to send email: no recipient
Mon Jul 28 06:55:33 PDT 2014 INFO: Service cache miss

Original comment by rafare...@gmail.com on 28 Jul 2014 at 1:56

GoogleCodeExporter commented 9 years ago
Hello,

The message appears to indicate that the email you're trying to send doesn't 
have any recipients?

"Failed to send email: no recipient"

Original comment by blairk...@gmail.com on 28 Jul 2014 at 3:43

GoogleCodeExporter commented 9 years ago
Of course, my fault!

Original comment by rafare...@gmail.com on 28 Jul 2014 at 5:42