Matt,
If you just wanted to open the default email client, then I would just
use a "mailto" url and pass that to the static Start method on the Process
class.
However, since you want to attach a file, you need a unified way of
doing this, since not all email clients are the same. To that end, I think
you will have to call the functions in the MAPI API through the P/Invoke
layer (most mail clients should support MAPI).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Mateusz Rajca" <Ma**********@discussions.microsoft.comwrote in message
news:B5**********************************@microsof t.com...
Hello!
How do I open the default email client, and attach a file?
Matt