I want my Google Forms to send me an email when I receive a response. How do I that?

Modified on Wed, 13 May, 2015 at 7:43 PM

Google Forms is very powerful and you can have Google automatically send messages to the user on submission or to you when a new entry has been submitted.



Try this form




This is the script that was used with this particular form: 


 

function formSubmitNotification(e) {
  var userEmail = e.namedValues["Email"];
  var firstName = e.namedValues["First Name"];
  var lastName = e.namedValues["Last Name"];
  var subject = "Thank you for your feedback";
  var body = "Hello " + firstName + ", /n This email was generated from Google based on your form submission. Create your own Google Form email responders. Visit our blog on http://ativsoftware.com.";

  MailApp.sendEmail(userEmail, subject, body);
}