Closed GoogleCodeExporter closed 9 years ago
Issue 28 has been merged into this issue.
Original comment by blairk...@gmail.com
on 16 Apr 2012 at 4:23
I notice that the messages instead of going to "sent" are actually going into
"Bin" with the label "Draft"
Original comment by jim...@gmail.com
on 19 Aug 2012 at 4:50
Hi Blair,
Was wondering why the sent draft goes to trash. We noticed that is how it seems to be defined in the script. Can that be changed?
Thanks much,
Dee
Original comment by dee.corb...@maryland.gov
on 13 Sep 2012 at 4:55
Attachments:
Hello Dee,
Yep, you could change the script to apply the 'sent-mail' label
instead of the 'trash' label as I do now.. but just one thing to note
(which the background might take a bit of explaining)
So a user composes a message with the subject: "Lets play basketball
-- Wednesday 5pm"
The script runs at a trigger at 5pm and decides it's time to send the message.
The google script api doesn't have a method to change the subject of
an email (drat!) and we need to remove the "-- Wednesday 5pm" from the
draft.
So we create a new message, copy the contents of the draft into it,
strip off the "-- Wednesday 5pm" and set the subject to "Lets play
basketball"
The original draft with the subject "Lets play basketball -- Wednesday
5pm" we place in the trash..
You could instead place that in the 'Sent Mail' but it will not have
the same subject as the actual mail that was sent. This also means
that when you receive a reply to "Lets play basketball" it won't
"connect" with the message in your draft folder which has a different
subject line.
But I think it's worth a shot for you to give it a try and see how it works!
-Blair
Original comment by blairk...@gmail.com
on 13 Sep 2012 at 5:08
> The original draft with the subject "Lets play basketball -- Wednesday
5pm" we place in the trash..
OK, but why the new email (the one the script creates "Lets play basketball")
doesn't go to the "Sent Mail" ?
Original comment by nicolas....@maaven.fr
on 28 Sep 2012 at 1:38
Hello Blair,
I noticed that Gmail Delay Send is not taking into account the BCC field in the
email.
You say: "So we create a new message, copy the contents of the draft into it,
strip off the "-- Wednesday 5pm" and set the subject to "Lets play basketball""
Would it be possible that, when you create the new email, you are not adding
the emails in the BCC field?
Original comment by ospim...@gmail.com
on 31 Oct 2012 at 9:07
Hello ospimato,
Yes you're exactly correct, that field is not being copied, but the API
doesn't expose it :-(
I filed a feature request with the google scripts API team, so the best we
can do it get other people to 'star' the issue so they know it's a needed
feature.
https://code.google.com/p/gmail-delay-send/issues/detail?id=8&can=1&q=bcc
Thanks for giving the script a try though! Sorry I can't help with this
one..
-Blair
Original comment by blairk...@gmail.com
on 31 Oct 2012 at 1:44
Thank you for the response and clarification Blair.
if the Google scripts team modifies the API to expose it in the future, and you
update the script to take advantage of it, it would be great if you could leave
a comment here.
I have "starred" the issue. My 2 cents.
Original comment by ospim...@gmail.com
on 2 Nov 2012 at 1:05
Personally, I like to keep a copy of every message I send, even if the subject
line is different from what was actually sent ... for me that's much better
than sending something to someone and then having no record of it! But I can
see that for some people trashing the scheduled messages is better.
So this seems like a good candidate for a configuration setting: "Place sent
messages in Sent Mail?"
Original comment by rich...@richardreiner.com
on 4 Dec 2012 at 4:36
Hi Blair,
In comment #4 you say "Yep, you could change the script to apply the
'sent-mail' label instead of the 'trash' label"
How do I change the script to apply the sent mail label?
Thanks,
Sam
Original comment by sbr...@acunu.com
on 20 Dec 2012 at 4:06
Hello Sam,
The place in the javascript that the message is moved to the trash is located
here:
https://code.google.com/p/gmail-delay-send/source/browse/src/downloaded/GmailDel
aySend.js#308
So I think if you instead applied a label (see the API here:
https://developers.google.com/apps-script/class_gmaillabel) of 'sent' I think
it would accomplish what you wanted?
If you don't mind reporting back your findings, others might be interested :-)
Thanks!
-Blair
Original comment by blairk...@gmail.com
on 21 Dec 2012 at 5:19
Issue 45 has been merged into this issue.
Original comment by blairk...@gmail.com
on 15 Feb 2013 at 3:17
Issue 51 has been merged into this issue.
Original comment by blairk...@gmail.com
on 15 Feb 2013 at 3:23
This is really pitty! I have delayed severeal mails tonight and now I cannot
make sure they really has been sent. These mails doesnt appear anywhere, that
means I am not able to write something "see my mail from xxx" to my customers.
I really need this feature but I will not use this script anymore, sorry.
Original comment by delete-k...@nexus-netsoft.com
on 19 Feb 2013 at 7:38
Hello Keil,
Sorry to hear about the trouble that this bug has caused you!
One thing that might help is gmail delay send will send you a "receipt"
after an email is delivered. The receipt will contain information about
who the email was sent to, when it was sent, what it contained etc.
From your description it sounds like this might help your use-case.
Thanks for checking out the script!
-Blair
Original comment by blairk...@gmail.com
on 20 Feb 2013 at 2:17
The thing I like with Gmail, is that when someone answer to my email, it's
automatically linked like a thread and I can easily follow the discussion.
With the delay-sended mails, it's impossible to follow a thread, because some
messages are missing.
Even a "receipt" won't do the stuff...
Original comment by phunky....@gmail.com
on 20 Feb 2013 at 2:35
Hello phunky.bob,
Yep, I totally agree..
Two things that I'm working on in the next version of the script..
I'm thinking that instead of specifying the date to send on the subject
line (which breaks the threading as you mentioned) there will be an option
to specify on the first line of the email. This way the threading will be
more natural to gmail.
The other is to either bcc the user, or save a copy of the message with the
'sent' label (which I think will appear in sent mail) just a regular
message will do.
Please stay tuned for these changes or let me know if you have any
suggestions.
Original comment by blairk...@gmail.com
on 20 Feb 2013 at 2:41
Thanks for this much needed tool! And for me, too, this issue is a high
priority -- I can't really use it if I'm going to have to read my emails via
receipts.
Luckily, though, you can at least somewhat work around this by cc:ing yourself
and manually labeling these emails Sent Items/ (that option might autofill for
me because I brought a bunch of emails in from Outlook). You could potentially
even figure out a filter to label them automatically, though one doesn't come
immediately to mind unless you can just use "from:me" if this is the only
reason you ever send yourself email.
Original comment by ckne...@gmail.com
on 1 Mar 2013 at 11:27
Can't wait for the issues to be resolved.
Original comment by q...@mytu.tuskegee.edu
on 8 Apr 2013 at 2:13
[deleted comment]
I was able to successfully change the script so that it goes to Sent Mail
instead of Trash (amazing, considering I know nothing about scripts!). However,
can you give some additional detail on how to remove the "--9pm" (or whatever
time) from the subject line? I would ideally like the responses that person
sends to me to go to the Inbox (or to whatever other label I have specified)
instad of the Trash. I think it's a bit odd for someone to get a message from
me with the time in the subject line. As I said, I know nothing about scripts,
so the more detail, the better.
Thanks!
Kristy
Original comment by powellkr...@gmail.com
on 16 Apr 2013 at 11:36
Hello Kristy!
Good job on the script changes!! Google Apps Scripts are pretty neat huh?
You can pickup this stuff pretty quickly and do some cool stuff :-) BTW:
What did you change to get the mail to show up in SendMail?
The problem with the subject line is this.. Gmail organizes things by that
subject line, so once an email is sent with a certain line it can't be
changed. In all the thing you can change about a GmailMessage (
https://developers.google.com/apps-script/reference/gmail/gmail-message)
SetSubject() is not one of them :-(
In the newer version of the script that I'm currently working on, the
date/time that you want to send will be in the email body instead of the
title. This way the responses to your mail will be associated with the
email that you sent (eg. currently your subject will have '-- 9m' on the
end which breaks this).
-Blair
Original comment by blairk...@gmail.com
on 27 Apr 2013 at 1:42
This bug is fixed in the new version of Gmail Delay Send which will be released
soon (closing this now so I can better track which bugs still need to be
addressed).
For updates on the new version please 'star' this issue:
https://code.google.com/p/gmail-delay-send/issues/detail?id=64
If you choose to wait to install the new version until it's officially released
please join the google group:
https://groups.google.com/forum/?fromgroups#!forum/gmaildelaysend to be
notified when it's officially ready.
Original comment by blairk...@gmail.com
on 18 May 2013 at 8:30
Issue 70 has been merged into this issue.
Original comment by blairk...@gmail.com
on 13 Jun 2013 at 12:28
Original issue reported on code.google.com by
blairk...@gmail.com
on 23 Jan 2012 at 3:02