473,480 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 2883
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
1882
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
1650
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
1250
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
1324
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
1535
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
5416
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
266
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
1745
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
2452
by: douglass_davis | last post by:
Is the whole System namespace automatically imported?
0
7037
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
7034
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
7076
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...
1
6732
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
6886
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
4472
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.