Created
November 9, 2012 17:38
-
-
Save sauntimo/4047047 to your computer and use it in GitHub Desktop.
Trigger Test Email
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function OnSubmit(e){ | |
MailApp.sendEmail("[email protected]", "Your form was submitted!", | |
"Hey you!" + | |
"\n\n Someone submitted your form. Here's what they had to say:" + | |
"\n\n Favourite Colour: " + e.values[1] + | |
"\n Explanation: " + e.values[2]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment