Help with - System.Diagnostics.Process.Start

  • Thread starter Thread starter JimJob
  • Start date Start date
J

JimJob

Hi All,

I am using c# to build an application (i know its not VBA but thought
someone may know the answer!). I want to open a new mail message with an
attachment. The new mail message works but I can't get the attachment to
work - there is no error message just no attachment. Any ideas? Code i am
using is;

System.Diagnostics.Process.Start("mailto:[email protected]?subject=Software&body=see attachment&attachment=c:/myview.mht");

Thanks
 
Mailto doesn't support an attachment clause, take a look at the MS docs on
that. Use Outlook automation to add the attachment.
 
Back
Top