.net and 98

  • Thread starter Thread starter John Peter
  • Start date Start date
J

John Peter

Hi,
i have made a small application(with only 10 lines of
code) in visual studio.net which uses system.web.mail, it
works fine on windows XP,
i have copied the folder on a WINDOWS 98 machine and i
have installed .net redistributable 1.1 on 98 machine.
but when i run that .exe on 98 it give an error
saying "it can only be executed on windows NT, 2000 or XP"
what could be the reasons????

John
 
John Peter said:
i have made a small application(with only 10 lines of
code) in visual studio.net which uses system.web.mail, it
works fine on windows XP,
i have copied the folder on a WINDOWS 98 machine and i
have installed .net redistributable 1.1 on 98 machine.
but when i run that .exe on 98 it give an error
saying "it can only be executed on windows NT, 2000 or XP"
what could be the reasons????

All the classes under the System.Web.Mail namespace require Windows2000 or
higher [take a look at the requirements section in the documentation of the
classes you're using].
If you want to send emails from your applications, you can roll your own
SMTP implementation using the classes in the System.Net namespace or you can
use one of the various SMTP classes that are available online.
Here are some of those free implementations:
http://www.csharphelp.com/archives2/archive449.html
http://www.quiksoft.com/freesmtp/
http://www.dotnet247.com/247reference/articles/0/1523.aspx

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
 
Back
Top