|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Trick to getting System.Web.Mail to work?Using VS.Net 2k3, 2.0 Framework installed...
So, I'm sitting here trying to do a very basic SMTP mailer, and I'm struggling with getting either System.Web.Mail (1.1) to work, or System.Net.Mail (2.0) to work. A note on one of the KB articles says that System.Net.Mail is a 2.0 class, so assuming that VS.Net 2K3 can't compile for 2.0, I decide to try System.Web.Mail. Well, no luck there either. The only classes available in System.Web are three ASP Provider classes; no references to Mail, and COM objects relating to Mail... How does one get a mail message created and sent when VS.Net won't recognize (or compile) for either of the two classes the documentation says should be used for sending mail messages?!?!?! Help! :) Jack "JackBlack" <jackisb***@hotmail.com> schrieb: Right. VS.NET 2003 is bound to .NET 1.1 and depends on this version of the > Using VS.Net 2k3, 2.0 Framework installed... > > So, I'm sitting here trying to do a very basic SMTP mailer, and I'm > struggling with getting either System.Web.Mail (1.1) to work, or > System.Net.Mail (2.0) to work. A note on one of the KB articles says that > System.Net.Mail is a 2.0 class, so assuming that VS.Net 2K3 can't compile > for 2.0, I decide to try System.Web.Mail. ..NET Framework. It can only be used to create .NET 1.1 assemblies. > Well, no luck there either. The only classes available in System.Web are Maybe your project is lacking a reference to "System.Web.dll". Note that > three ASP Provider classes; no references to Mail, and COM objects > relating to Mail... this namespace is not supported on some older versions of Windows such as Windows 98 -- if you are targetting these versions of Windows, you'll have to use an alternative component: Sending and receiving email <URL:http://dotnet.mvps.org/dotnet/faqs/?id=email&lang=en> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Typed DataSet
The free format? How to know if Windows Update is ON or OFF? Cpmute values in Dataset Table?? Calling Java class from VB.net Collections Woes - Help! Confusion: VB Express/VC Express/Sql Server Express Edition DataGridBoolColumn - Greyed Out vb.net asp converting Cpmute values in Dataset Table?? |
|||||||||||||||||||||||