In my WPFapplication I need to be able to open the default email to send an email with attachment previously scanned. For the scanner i used WIA and I save the scanned image in jpeg. For email i has tried the MAILTO as follows
string mail1 = "abc@hotmail.com";
string mail2 = "def@yahoo.it";
string attach = @"C:\bla\bla\bla\file.xlsx";
Process.Start(string.Format("mailto:{0}?subject={1}&body={2}&CC={3}&attachment:{4}"
, mail1, subject, body, mail2,attach));
every thing works unless ATTACHMENT when Process.start opens the default email.
you know something better than mailto? or something that gives the ability to attach files to email?