bradysanders / gmail-delay-send

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

Delayed emails send from primary account rather than alias. #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Recently installed the script and have been putting it through its paces.  
Overall, it works amazingly well, but I've noticed one major problem: I use 
about six different alias accounts from my primary Gmail, but if I try to send 
a delayed email from one of my alias accounts the script still sends it from my 
primary account.

I'm pretty sure this behavior should be possible as the Gmail API has allowed 
sending from aliases since October 2012, but I presume this is a script-wide 
problem rather than something isolated to me.  I'm poking through the code now 
to see if it's something that can be fixed relatively easily.

Original issue reported on code.google.com by Cara...@gmail.com on 1 Jul 2013 at 6:19

GoogleCodeExporter commented 8 years ago
Hello Carasci,

If you are willing to try out the new version of gmail delay send this issue is 
fixed (see 
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendInstall_8)

Or you could just change the 0.7.7 version to do the same, as you said its a 
simple change to the GmailApp.sendMail function call  :-)

BTW: I think there might currently be an issue with the permissions for the new 
version. I don't think this is Gmail Delay Send specific, but if you encounter 
issues in the installation process that might be the cause.

Original comment by blairk...@gmail.com on 1 Jul 2013 at 8:29

GoogleCodeExporter commented 8 years ago
I've managed to get v08 generally working after the various permissions issues, 
but now I'm getting a different issue.  Previously it was simply sending from 
the wrong account, but now it's not sending at all.  I'm getting the receipts, 
but the actual messages seem to be getting lost.  Any idea what could be going 
wrong?  Things sent from my primary email work fine, it's only losing ones sent 
from an alias.

Original comment by Cara...@gmail.com on 1 Jul 2013 at 11:11

GoogleCodeExporter commented 8 years ago
Hello Carasci,

Could you expand on how you fixed the permission issues? Others have had a lot 
of trouble installing recently and I can't really tell them how to fix the 
issues (as the owner I automatically have permissions granted).

Huh.. Strange that you're getting the receipts but not the actual mails. Could 
you let me know which options you are using? Maybe enabling BCC would help 
debug if the messages are getting sent? The other (and more verbose way) would 
be to enable the debug logs for while, and post that information.

-Blair

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

GoogleCodeExporter commented 8 years ago
The permission issues were simple brute-force.  I tried it several hundred 
times and eventually it worked.  I presume it's an overall problem with 
Google's authentication service.

I'm using the standard settings, though I have now turned BCC on.  It's going 
to take a fair bit more poking at it until I know exactly what is provoking 
what behavior, but that'll have to wait until I have some free time.

Original comment by Cara...@gmail.com on 4 Jul 2013 at 11:19