Launch Mail Recipient programmatically
-
Hey howzit, I am very new to the C# .NET environment and am learning every day, but I need to be able to launch the default mail recipient e.g. Outlook from my C# application. Could anyone help me out, please try keep the code simple. Much appreciated!
-
Hey howzit, I am very new to the C# .NET environment and am learning every day, but I need to be able to launch the default mail recipient e.g. Outlook from my C# application. Could anyone help me out, please try keep the code simple. Much appreciated!
The following snippet launch the systems default email client
System.Diagnostics.Process.Start("mailto:test@test.com");
DevIntelligence.com - My blog for .Net Developers -
The following snippet launch the systems default email client
System.Diagnostics.Process.Start("mailto:test@test.com");
DevIntelligence.com - My blog for .Net DevelopersHey there, Thanks for that code. Is there way of specifying which file(s) to include in the new email as attachments?
-
Hey there, Thanks for that code. Is there way of specifying which file(s) to include in the new email as attachments?
I don't know, but you can use third party component like DotNetOpenMail[^] .Using "mailto:" you can specify subject ,body - but not file . DevIntelligence.com - My blog for .Net Developers