I\'ve been trying to put together a confirmation script from as described here: http://alamoxie.com/blog/tech-tips/sending-confirmation-emails-google-docs-form/
But I al
This script cannot be executed from the script editor, it works only if it is triggered by a form submission, that's the way e (event info) gets its parameter. If lauched from the script editor the event info is undefined, which is logical since no event occurred.
So you should test it by sending forms.
EDIT : You have to create an onFormSubmit trigger to make the script run when a form is submitted : see doc here and also here