How do I send a notification email after a form has been submitted?
I have a Google Form, I open it and I go to menu More->Script Editor and add a script:
function OnSubmit(e) {
MailApp.sendEmail ("[email protected]", "Form Submited: Foo feedback " + Date.now(), "Form Submited: Foo feedback");
}
I save the script and test it works by pressing the run button. The email gets delivered to [email protected].
Then I fill in the Google Form, but the email does not arrive in [email protected] mailbox.
P.S. I do not want to use "Email Notifications for Forms" plugin because it requests access to to many privileges. I do not want to use "Form Notifications" because for some reason it does not work for me (the emails do not get delivered).
Set up Respondent NotificationsOpen your Google Form and launch Email Notifications from the add-ons menu. Click the Create Email Notification menu to create a new rule for sending automatic email notifications to the form respondent. Set the rule name to, say, Respondent Notifications .
Open your form in Google Forms > Click Responses > Click More ⋮ icon > Enable Get email notifications for new responses.
Google Forms can send email notifications as soon as people submit your form but, as you would notice in the screenshot, the form data submitted by the respondent is not included in the email message.
Finally found it, well hidden under
Responses
tab...
menu buttonGet email notifications for new responses
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With