473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Imports System.Web.Mail error

I am trying to add a reference to System.Web.Mail in VB.NET application and
getting an error saying Namespace or type 'Mail' for the Imports
'System.Web.Mail' cannot be found.

How can I fix it or it is only accessible in ASP.NET application?

Thanks

Jul 21 '05 #1
2 2882
Did you add the actual reference via the Project...Add Reference menu?

Dave

"Job Lot" <Jo****@discussions.microsoft.com> wrote in message
news:BF**********************************@microsof t.com...
I am trying to add a reference to System.Web.Mail in VB.NET application and
getting an error saying Namespace or type 'Mail' for the Imports
'System.Web.Mail' cannot be found.

How can I fix it or it is only accessible in ASP.NET application?

Thanks

Jul 21 '05 #2
Nops... :)

Got it working now. Thanks

"David Pope" wrote:
Did you add the actual reference via the Project...Add Reference menu?

Dave

"Job Lot" <Jo****@discussions.microsoft.com> wrote in message
news:BF**********************************@microsof t.com...
I am trying to add a reference to System.Web.Mail in VB.NET application and
getting an error saying Namespace or type 'Mail' for the Imports
'System.Web.Mail' cannot be found.

How can I fix it or it is only accessible in ASP.NET application?

Thanks


Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steven K | last post by:
Hello, Is there a way to declare imports so that they don't have to be declared both in Master Page.vb and the Content Page.vb? For example, I have the following in the Master Page.vb Imports...
3
by: | last post by:
I'm picking up an 'IMPORTS' error for a simple database insert based on two input entry boxes in my form? It says an 'Imports' statement must preceede any declarations....... is this perahps the...
1
by: wrytat | last post by:
I tried to import the System.Web.Mail namespace in a class file by typing "Imports System.Web.Mail", but there's syntax error shown. The error message goes like this, "Namespace or type 'Mail'...
5
by: Shapper | last post by:
Hello, I am working in a web site where all the code is placed in aspx.vb files. After a while I realized that many functions included in my aspx.vb files where common to all pages. I...
2
by: Carlos | last post by:
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...
2
by: Kelvin | last post by:
Hello I am using web matrix develop a login page through Active Directory but I cannot figure out why it is giving me an error when importing system.directoryServices. Any help will do! thank ...
2
by: Job Lot | last post by:
I am trying to add a reference to System.Web.Mail in VB.NET application and getting an error saying Namespace or type 'Mail' for the Imports 'System.Web.Mail' cannot be found. How can I fix it...
7
by: Bart_D | last post by:
Hi, Can anybody explain me what's the difference between for example: imports system.data implements ICallbackEventHandler inherits System.Web.UI.Page Thanks Bart
6
by: douglass_davis | last post by:
Is the whole System namespace automatically imported?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.