Can't help you with attaching an attachment, as I don't believe OE can be
automated that easily without a third party tool. However, if the amount of
data is small and is text based, why not think about something like this:
string commandText = @"mailto:ta****@donaim.name?" +
"cc************@another.domain.name&" +
"subject=Test email&" +
"body=Error located at <address>%0AOther stuff we need to
know%0A";
Process.Start(commandText);
You'll need to have a "using System.Diagnostics" to make this work. The body
of the message would be used to include any text you need to have sent. Just
remember to use "%0A" for newlines.
It might get you started. On my system, this opens the default mailer with
the to and cc fields filled in, a subject and the body completed. You can
see more amount the syntax of mailto: at
http://www.ianr.unl.edu/internet/mailto.html
Steve
"Jason Huang" <Ja************@hotmail.com> wrote in message
news:up**************@TK2MSFTNGP05.phx.gbl...
Hi,
I am not sure if we can call Outlook Express in the C# windows form
project.
However, my boss he thinks that it should be able to open, since the VSC#
and Outlook Express are all MS's product,
but I'm not so sure.
In my C# Windows Form project, I would like to have a button which will
initiate the client's Outlook Express.
In the mean time, it needs to attach a particular document in the OE.
Would some one give me some advice?
Thanks for help.
Jason