I have used Process Class to start a client machine's outlook new message with pre filled data.but i could not,it is not getting opened in client machine when i uploaded it to server,but it is working in my machine when i run it in my local machine.
Please suggest me how to use this process.start in a buton click of the asp.net
Here is the Code i used to run.
Process process = new Process();
process.StartInfo.FileName = "mailto:" + "firstname.lastname@example.org" + "?subject=" + "Access for Tower 1 and 2 entrance and common area and Kiosk" + "&cc=" + "sampleMailcc@sample.com" + "&body=" + "This is Sample body";
private void OpenDefaultClient()
StringBuilder emailBuilder = new StringBuilder();
emailBuilder.Append("&subject=this is test subject");
emailBuilder.Append("&body=this is test body");
This feature is seen on pdf documents and they do it very beautifully for all the three default email clients (a) Microsoft Outlook (b) Outlook Express (c) Hotmail. I wish to replicate the same feature in my application.