Skip to content

Instantly share code, notes, and snippets.

@operando
Created April 15, 2014 16:05
Show Gist options
  • Save operando/10744188 to your computer and use it in GitHub Desktop.
Save operando/10744188 to your computer and use it in GitHub Desktop.
Google Apps script formScript Sample
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