HI
i am writting a code for open default mail client and it works fine. i
want to attach a file with the default mail client but file is not
attached with "mailto:" option. If any one has idea about open default
mail client with attach files using "mailto:" then pls reply me.
Thanks in Advance.
regards
vijay parikh
My code is as below.
System.Text.StringBuilder Mystring = new System.Text.StringBuilder();
Mystring.Append("mailto:");
Mystring.Append("&Subject=Finance profit and loss&body=this is test
body");
Mystring.Append("&attach=c:\\test\\test.pdf");
Process myProcess = new Process();
myProcess.StartInfo.FileName = Mystring.ToString();
myProcess.StartInfo.UseShellExecute = true;
myProcess.StartInfo.RedirectStandardOutput=false;
myProcess.Start();
myProcess.Dispose();