send simple email with NET

  • Thread starter Thread starter Le, Thanh-Nhan
  • Start date Start date
L

Le, Thanh-Nhan

Hi,

I want to send a simple mail with C#.
I have tried the following, but they don't work:
- some solutions on CodeProject websites.
- shellExecute(mailto:[email protected]?subject=aaa&body=bbb).

Thanks for help
TNL
 
thanks,
but I don't know, why it doesn't work. Error text:

An unhandled exception of type 'System.ComponentModel.Win32Exception'
occurred in system.dll
Additional information: Der angeforderte Abschnitt war im Aktivierunskontext
nicht vorhanden
(requested clause doesn't exist in activation context)

I use Outlook 2000 as standard email, I have tried to set Outlook express as
standard, but it doesn't work.

Do you have an idee?

Thanks
Nhan
 
Thanks,

I have downloaded your C# project. But "the file AssemblyInfo.cs could not
be opened", System can not find the file. I can't try your programm.

Otherwise, in my program "the System.Web.Mail namespace doesn't exist", it
can't not be compiled... Why?

Nhan
 
Back
Top