Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3398932
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:42:33+00:00 2026-05-18T04:42:33+00:00

I am working on Visual Studio 2008 and ASP.net.. I want to preview email

  • 0

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.

string emailbody = "\"some text\"";

btPreviewEmail.OnClientClick = "javascript:location.href='mailto:?subject=Chalk Pushcast Software Order Agreement&body=" + emailbody + "';";

I have left the recipient’s field blank because I just have to preview the email.

At runtime, I get a Microsoft Outlook error like,
“The command line argument is not valid. Verify the switch you are using”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T04:42:34+00:00Added an answer on May 18, 2026 at 4:42 am

    It looks like you need to put them on the url, so you can simply URL encode them (to %22):

    string emailbody = "%22some text%22";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a web application in asp.net in visual studio 2008. Its working
I have a very simple ASP.NET web application created under Visual Studio 2008 (SP1),
I am working on a asp.net web app in visual studio team system 2008
ASP.net C# 3.5 Framework, working in Visual Studio 2008 currently. What I want is
I've created a working Visual Studio 2008 web setup project that builds an MSI
I have developed a asp.net application using Visual Studio 2008 and it was working
I am currently working with a ASP.NET Web site project in Visual Studio 2008
While working with ASP.NET using Visual Studio (2008) I have discomfort issue: source code
We have a ASP.Net web application running in Visual Studio 2010 that is targeting
I'm trying to get edit-and-continue working with Visual Studio 2008 with an ASP.Net MVC

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.