title: Handling double quotes in mailto:
body: <p>I am working on Visual Studio 2008 and ASP.net.. I want to preview email that is created in the web page. I have problems in handling double quotes in the email body. </p>
  
  <pre><code>string emailbody = "\"some text\"";
  
  btPreviewEmail.OnClientClick = "javascript:location.href='mailto:?subject=Chalk Pushcast Software Order Agreement&amp;body=" + emailbody + "';";
  </code></pre>
  
  <p>I have left the recipient's field blank because I just have to preview the email. </p>
  
  <p>At runtime, I get a Microsoft Outlook error like,
  "The command line argument is not valid. Verify the switch you are using"</p>