473,498 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

e-mailing from a windows form

I have done some research and cannot find the namespace for e-mailing from a
Windows form - not a web form. I wanted to import System.Web, but cannot do
so from a windows form.

I have created a form where I would like to e-mail the clients whose e-mail
addresses are completed.

Thanks for any help.

Brad
Nov 20 '05 #1
3 952
* "Brad" <ap**********@hotmail.com> scripsit:
I have done some research and cannot find the namespace for e-mailing from a
Windows form - not a web form. I wanted to import System.Web, but cannot do
so from a windows form.


You will find classes in the 'System.Web.Mail' namespace. Add a
reference to "System.Web.dll" to your project and import the namespace.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Thanks for the help. This worked just fine. You have helped me before and
again I thank you.

Brad

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Ox****************@TK2MSFTNGP10.phx.gbl...
* "Brad" <ap**********@hotmail.com> scripsit:
I have done some research and cannot find the namespace for e-mailing from a Windows form - not a web form. I wanted to import System.Web, but cannot do so from a windows form.


You will find classes in the 'System.Web.Mail' namespace. Add a
reference to "System.Web.dll" to your project and import the namespace.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #3
KJM
remember this will only work with: Platforms: Windows 2000, Windows XP
Professional, Windows Server 2003 family
if that matters to you.

"Brad" <ap**********@hotmail.com> wrote in message
news:up*************@tk2msftngp13.phx.gbl...
Thanks for the help. This worked just fine. You have helped me before and again I thank you.

Brad

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Ox****************@TK2MSFTNGP10.phx.gbl...
* "Brad" <ap**********@hotmail.com> scripsit:
I have done some research and cannot find the namespace for e-mailing from a Windows form - not a web form. I wanted to import System.Web, but cannot do so from a windows form.


You will find classes in the 'System.Web.Mail' namespace. Add a
reference to "System.Web.dll" to your project and import the namespace.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


Nov 20 '05 #4

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

Similar topics

6
5708
by: Hamed | last post by:
Hello I have employed as a developer in a software company that its team uses FoxPro / VB 6.0 / VC++ 6.0 as the developing tools and newly is going to migrate to VS.NET. There is a project...
5
6566
by: Xarky | last post by:
Hi, I am creating a windows form, and when a specified event occurs (button click), I am hiding the windows form and opening a new windows form. When opening the new windows form and closing...
5
11340
by: Dave | last post by:
How do I check in a Windows Forms app if any controls have changed? I have a form that collects data, and I want to prompt the user if they try to exit the app, or load a new file, without saving...
9
2799
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
4
1827
by: Michael C# | last post by:
I have a Windows Form I want to add to another form similar to the way you add an OpenFileDialog to a Windows Form from the Toolbox. Thx
6
2029
by: Dean R. Henderson | last post by:
I have a DTS Package I am able to execute successfully from a Windows Form application, but I cannot get this to work from an ASP.NET Web Service, although the Web Service impersonates the same...
8
18616
by: Alison | last post by:
Hi, Al I am trying to design a user interface which provides both menus and toolbars for some users to click on whatever they want to do, at the same time, I would like to have a console window...
4
3128
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
9
12818
by: mohit.akl | last post by:
Hey guys & gals I am havng trouble modifying the control box. I want to make the maximise button invisible and have minimisise button instead of it. Like this _ X (not like _ o X ) How...
7
9331
by: Jwe | last post by:
Hi, I've written a program which has both a command line interface and Windows form interface, however it isn't quite working correctly. When run from command line with no arguments it should...
0
7004
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
7167
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
7379
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
5464
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,...
0
4593
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
3095
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
1423
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
657
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
292
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.