Learn-to-send-email-via-google-script-html-no-server: Scheduling emails

Created on 26 Jul 2018  Â·  8Comments  Â·  Source: dwyl/learn-to-send-email-via-google-script-html-no-server

Is there a way of sending the emails on a specific date and time? I'd appreciate it if anyone has figured out a way of doing this and can help me.

help wanted question

Most helpful comment

All 8 comments

Greetings @rajatkhare619!
as far as I am aware, the Gmail API does not have a "delay sending by {X} minutes" function ...
see: https://developers.google.com/gmail/api/guides/sending
There are 3rd party services you can use to send an email at a specific time/date,
e.g: https://www.boomeranggmail.com/l/schedule-an-email.html
but we have never attempted to integrate them with a Google Form/Script which captures data
because it's never been a "use case" for us.

Could you give us a bit more detail on the _scenario_ where this would be _useful_?
Thanks.

Hi @nelsonic
Thank you for those references.
I'm trying to create a "Reminder" application where users can set the date and time and then the script will send them the reminder on the specified time.
I think Boomerang will not be applicable in this case. I don't want everyone to install the extension.
I want a way of doing this using code.

@mckennapsean _sweet_! thanks for sharing!
(_I have not used triggers with apps scripts so I defer to you!_) 🥇

@mckennapsean Thanks! I'll see if it works.

@rajatkhare619 any luck figuring it out? hope it does!

@mckennapsean No. I surmised that I would have to learn Google apps script in detail in order to write the custom script that I needed and I didn't have much time so I went with Elastic email in the end.

Thanks for the follow-up, and I hope it was able to do all you needed to do!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shaily99 picture shaily99  Â·  4Comments

jchesner picture jchesner  Â·  3Comments

EugeneFitzher picture EugeneFitzher  Â·  4Comments

Brothman picture Brothman  Â·  3Comments

mckennapsean picture mckennapsean  Â·  4Comments