title: google script error: unexpected token: u
body: <p>I am using google script.
  Here is the object to which I am applying .formDataNameOrder </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>{subject=[subj], name=[shan], phoneNum=[4132145], message=[msg], email=[shan@ss]}</code></pre>
  </div>
  </div>
  </p>
  
  <p>In the logs I am getting unexpected token: u </p>
  
  <p>If I log the error I am getting this - </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>"message":"Unexpected token: u","name":"SyntaxError","fileName":"script (html contact form sendEmail)","lineNumber":31,"stack":"\tat script (html contact form sendEmail):31 (doPost)\n"}</code></pre>
  </div>
  </div>
  </p>
  
  <p>Where am I going wrong ?</p>
  
  <p>This object is available as e.paramaters and after applying .formDataNameOrder it becomes e.parameters.formDataNameOrder</p>
  
  <p>Here is a little background of the problem - <a href="https://stackoverflow.com/questions/47000946/send-email-without-server-using-google-script-error-after-clicking-submit-butto">Send email without server using google script: error after clicking submit button</a></p>