When sending a Google Form manually via the "Send" button within a form, you would see that the email addresses are recorded in the "Responses" tab, even if they have not responded yet, and listed under the "Waiting for x response(s)" section (as shown in the screenshot).

How to achieve the same using Google Apps Script?

I can dispatch a Gmail email via script like (the code) below, but this does not track/list the emails where the form was sent to.

GmailApp.sendEmail('[email protected]',form.getTitle(),form.getPublishedUrl());

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.