Created
April 15, 2014 16:05
-
-
Save operando/10744188 to your computer and use it in GitHub Desktop.
Google Apps script formScript Sample
This file contains 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 sendReport(e) { | |
var rs = ""; | |
var name = e.namedValues["お名前入れてね!"]; | |
var date = e.namedValues["参加可能な日"]; | |
var other = e.namedValues["なんでも書いてね!"]; | |
rs += "■名前\n" | |
rs += name + "\n\n"; | |
rs += "■参加可能な日\n" | |
rs += date + "\n\n"; | |
rs += "■その他\n" | |
rs += other; | |
MailApp.sendEmail("[email protected]",name + " さんから回答がありました",rs); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment