|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
System.Web.MailWould like to use this namespace but Visual Studio.Net 2003 cannot
locate and I do not see it listed under Project | Add Reference. Was this not included this older version of VB.Net or Visual Studio? Is there source code that I can download. I'm retired, VB.Net is a hobby, and I would like to write a program to send a short weekly message automatically (scheduled) to a dozen tennis players each week. Found code snippets but all depend on System.Web.Mail. Ed Bitzer "Ed Bitzer" <edbit***@yahoo.com> wrote in news:#TAodtGJHHA.3676 @TK2MSFTNGP03.phx.gbl:> Would like to use this namespace but Visual Studio.Net 2003 cannot ..NET 1.1 has an older mail class - System.Net.Mail:> locate and I do not see it listed under Project | Add Reference. Was > this not included this older version of VB.Net or Visual Studio? Is > there source code that I can download. I'm retired, VB.Net is a > hobby, and I would like to write a program to send a short weekly > message automatically (scheduled) to a dozen tennis players each week. > Found code snippets but all depend on System.Web.Mail. > http://www.systemnetmail.com/ I don't know why MS changed the namespaces (2.0 FAQ: http://www.systemwebmail.com/) If all else fails, I've used QuikSoft's FreeSMTP and it works quite well: http://www.quiksoft.com/freesmtp/
Show quote
Hide quote
"Spam Catcher" <spamhoneypot@rogers.com> wrote in message Have to do a bit more reading to understand these differences in news:Xns989F9218440F0usenethoneypotrogers@127.0.0.1... > "Ed Bitzer" <edbit***@yahoo.com> wrote in news:#TAodtGJHHA.3676 > @TK2MSFTNGP03.phx.gbl: > >> Would like to use this namespace but Visual Studio.Net 2003 cannot >> locate and I do not see it listed under Project | Add Reference. >> Was >> this not included this older version of VB.Net or Visual Studio? >> Is >> there source code that I can download. I'm retired, VB.Net is a >> hobby, and I would like to write a program to send a short weekly >> message automatically (scheduled) to a dozen tennis players each >> week. >> Found code snippets but all depend on System.Web.Mail. >> > > .NET 1.1 has an older mail class - System.Net.Mail: > > http://www.systemnetmail.com/ > > I don't know why MS changed the namespaces (2.0 FAQ: > http://www.systemwebmail.com/) > > If all else fails, I've used QuikSoft's FreeSMTP and it works quite > well: > > http://www.quiksoft.com/freesmtp/ version but I like you suggestion of QuickSoft. Briefly checked out their freeware and think that it will make my life much easier. Thanks, Ed Spam Catcher <spamhoneypot@rogers.com> wrote in
news:Xns989F9218440F0usenethoneypotrogers@127.0.0.1: Oop sorry, I got them mixed up.> .NET 1.1 has an older mail class - System.Net.Mail: > > http://www.systemnetmail.com/ ..NET 1.1 is System.Web.Mail (not System.Net.Mail <- .NET 2.0). So confusing :-) Ed,
"Ed Bitzer" <edbit***@yahoo.com> schrieb: Add a reference to "System.Web.dll" and import the namespace ('Imports > Would like to use this namespace but Visual Studio.Net 2003 cannot locate > and I do not see it listed under Project | Add Reference. System.Web.Mail'). -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message Found the Reference to System.Web.dll and added which then allowed thenews:OKniBnHJHHA.2056@TK2MSFTNGP03.phx.gbl... > Ed, > > "Ed Bitzer" <edbit***@yahoo.com> schrieb: >> Would like to use this namespace but Visual Studio.Net 2003 cannot >> locate and I do not see it listed under Project | Add Reference. > > Add a reference to "System.Web.dll" and import the namespace > ('Imports System.Web.Mail'). > > -- > M S Herfried K. Wagner program to find the namespace reference with Imports System.Web.Mail. Now I remain a bit confused by Spam Catcher's help which I find well documented; however my older version does not accept Imports System.Net.Mail. However you guys have me moving forward and I do appreciate, already I have been successfully in sending a message so I am 95% along with this weekly tennis notifier. I thank you, Ed "Ed Bitzer" <edbit***@yahoo.com> schrieb: 'System.Web.Mail' has been marked as obsolete in .NET 2.0 (VS 2005). Its > however my older version does not accept Imports System.Net.Mail. > However you guys have me moving forward and I do appreciate, already > I have been successfully in sending a message so I am 95% along with this > weekly tennis notifier. replacement is 'System.Net.Mail', which is not available in .NET 1.* (VS.NET 2002/2003). -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Ok - I got it and am off and running. Will look into upgrading but
when you only do this for a hobby and are retired, the decision to have the latest bells and whistles is difficult. However the confusion of requesting information and finding code examples on older version tends to offset. Ed Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:uz%23k6pPJHHA.1276@TK2MSFTNGP04.phx.gbl... > "Ed Bitzer" <edbit***@yahoo.com> schrieb: >> however my older version does not accept Imports System.Net.Mail. >> However you guys have me moving forward and I do appreciate, >> already >> I have been successfully in sending a message so I am 95% along >> with this weekly tennis notifier. > > 'System.Web.Mail' has been marked as obsolete in .NET 2.0 (VS 2005). > Its replacement is 'System.Net.Mail', which is not available in .NET > 1.* (VS.NET 2002/2003). > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> |
|||||||||||||||||||||||