By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,641 Members | 1,446 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,641 IT Pros & Developers. It's quick & easy.

Imports System.Web.Mail ... error

P: n/a
I'm using VS 2003, im trying to write a windows app that will send an emial
bt when I import the Imports System.Web.Mail give me an error, it finds
Imports System.Web but not the mail part any ideas ?

Imports System.Web
Imports System.Web.Mail ' This one can't find it

Thanks

Carlos


Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Carlos" <cp****@yahoo.com> schrieb
I'm using VS 2003, im trying to write a windows app that will send an
emial bt when I import the Imports System.Web.Mail give me an error,
it finds Imports System.Web but not the mail part any ideas ?

Imports System.Web
Imports System.Web.Mail ' This one can't find it


You did not reference a library containing the namespace System.Web.Mail. At
the bottom of the documentation of the class you want to use there is the
assembly containing the class.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2

P: n/a
* "Carlos" <cp****@yahoo.com> scripsit:
I'm using VS 2003, im trying to write a windows app that will send an emial
bt when I import the Imports System.Web.Mail give me an error, it finds
Imports System.Web but not the mail part any ideas ?

Imports System.Web
Imports System.Web.Mail ' This one can't find it


Add a reference to "System.Web.dll" (project explorer -> "References" ->
context menu "Add Reference..." -> ...).

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.