Home All Groups Group Topic Archive Search About
Author
20 Dec 2006 7:16 PM
Ed Bitzer
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.

Ed Bitzer

Author
20 Dec 2006 7:21 PM
Spam Catcher
"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/
Author
20 Dec 2006 10:15 PM
Ed Bitzer
Show quote Hide quote
"Spam Catcher" <spamhoneypot@rogers.com> wrote in message
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/

Have to do a bit more reading to understand these differences in
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
Author
21 Dec 2006 7:05 AM
Spam Catcher
Spam Catcher <spamhoneypot@rogers.com> wrote in
news:Xns989F9218440F0usenethoneypotrogers@127.0.0.1:

> .NET 1.1 has an older mail class - System.Net.Mail:
>
> http://www.systemnetmail.com/

Oop sorry, I got them mixed up.

..NET 1.1 is System.Web.Mail (not System.Net.Mail <- .NET 2.0).

So confusing :-)
Author
20 Dec 2006 8:59 PM
Herfried K. Wagner [MVP]
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
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
21 Dec 2006 12:40 AM
Ed Bitzer
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news: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

Found the Reference to System.Web.dll and added which then allowed the
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
Author
21 Dec 2006 12:21 PM
Herfried K. Wagner [MVP]
"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/>
Author
21 Dec 2006 2:52 PM
Ed Bitzer
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/>