472,784 Members | 1,227 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,784 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 2862
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: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.