Hi I am working on a WPF application (using c#).
I need to have a functionality where users can send files (audio files) as attachments via email.
I tried using
You can ask the Windows shell to open a mailto URL:
var url = "mailto:someone@somewhere.com";
Process.Start(url);
You need to be using System.Diagnostics.
You can set various parts of the message like subject and body as described in RFC 6068
var url = "mailto:someone@somewhere.com?subject=Test&body=Hello";
Unfortunately, the mailto protocol does not support attachments even though some e-mail clients may have a way of handling that.