Opening a new email and attaching a document in C#

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
JimJob [ Do, 03 Januar 2008 18:00 ] [ ID #1898594 ]

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

"JimJob" <JimJob [at] discussions.microsoft.com> wrote in message
news:2EBEC6C6-47DA-4B2D-B9C7-506A98A4BC06 [at] 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.

<http://www.google.com/search?hl=en&q=how+to+send+email+with+an+attechment+C%23.net&btnG=Google+Search>
MR. Arnold [ Fr, 04 Januar 2008 05:42 ] [ ID #1899451 ]
Microsoft » microsoft.public.dotnet.general » Opening a new email and attaching a document in C#

Vorheriges Thema: Network connecttion problem
Nächstes Thema: User settings and custom configuration sections.