Opening a new email and attaching a document in C#

Opening a new email and attaching a document in C#

am 03.01.2008 18:00:00 von JimJob

Hi All,

I have created a C# app and i need to open a new mail message with an
attachment contained in the message. I have found the code below but no way
of attaching anything via code - can you help? I will just need to attach the
same attachment for every email - say test.txt

System.Diagnostics.Process.Start("mailto....)

Thanks

Re: Opening a new email and attaching a document in C#

am 04.01.2008 05:42:31 von MR. Arnold

"JimJob" wrote in message
news:2EBEC6C6-47DA-4B2D-B9C7-506A98A4BC06@microsoft.com...
> Hi All,
>
> I have created a C# app and i need to open a new mail message with an
> attachment contained in the message. I have found the code below but no
> way
> of attaching anything via code - can you help? I will just need to attach
> the
> same attachment for every email - say test.txt
>
> System.Diagnostics.Process.Start("mailto....)
>

Your friend is google.