473,499 Members | 1,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trick to getting System.Web.Mail to work?

Using VS.Net 2k3, 2.0 Framework installed...

So, I'm sitting here trying to do a very basic SMTP mailer, and I'm
struggling with getting either System.Web.Mail (1.1) to work, or
System.Net.Mail (2.0) to work. A note on one of the KB articles says that
System.Net.Mail is a 2.0 class, so assuming that VS.Net 2K3 can't compile
for 2.0, I decide to try System.Web.Mail.

Well, no luck there either. The only classes available in System.Web are
three ASP Provider classes; no references to Mail, and COM objects relating
to Mail...

How does one get a mail message created and sent when VS.Net won't recognize
(or compile) for either of the two classes the documentation says should be
used for sending mail messages?!?!?!

Help! :)
Jack

Jan 18 '06 #1
2 1387
"JackBlack" <ja********@hotmail.com> schrieb:
Using VS.Net 2k3, 2.0 Framework installed...

So, I'm sitting here trying to do a very basic SMTP mailer, and I'm
struggling with getting either System.Web.Mail (1.1) to work, or
System.Net.Mail (2.0) to work. A note on one of the KB articles says that
System.Net.Mail is a 2.0 class, so assuming that VS.Net 2K3 can't compile
for 2.0, I decide to try System.Web.Mail.
Right. VS.NET 2003 is bound to .NET 1.1 and depends on this version of the
..NET Framework. It can only be used to create .NET 1.1 assemblies.
Well, no luck there either. The only classes available in System.Web are
three ASP Provider classes; no references to Mail, and COM objects
relating to Mail...


Maybe your project is lacking a reference to "System.Web.dll". Note that
this namespace is not supported on some older versions of Windows such as
Windows 98 -- if you are targetting these versions of Windows, you'll have
to use an alternative component:

Sending and receiving email
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=email&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 18 '06 #2
Might be maybe worth to look at:

www.systemwebmail.com

Sonu
---
Posted via www.DotNetSlackers.com
Jan 19 '06 #3

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

Similar topics

11
4201
by: Vinod I | last post by:
Hi Team, I am having a string as "System.Data.SqlDbType.Int". Now I want to convert this string type to actual type to use with my Command object Parameter Creation. How I will convert this...
3
3248
by: Phil Mc | last post by:
Hi has anyone come accross the problem.... with referance to System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail THIS WORKS FINE mail=new MailMessage(); mail.From =...
5
2212
by: martin | last post by:
Hi, I have created a class that is totally seperate from my web application. However this class is used extensivly by the web application for stuff like data access. I wish to add a function to...
29
3641
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
1
8152
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
1
1355
by: Proteus | last post by:
Hi, I have written some very simple code that runs within my website that use system.web.mail to send an email using the SMTP server here. It works fine. However when I alter the code to work...
10
3914
by: Frank | last post by:
Hi, I am hoping to find out the differences between the System.Net.Mail and System.Web.Mail. Can some nice folks post the differences; or some urls which show the differences? Great Thanks...
1
1387
by: Sachin1234 | last post by:
Hi , I am getting the error in system log that " The remote server did not respond to a connection attempt." i am using following code for sending mail /**************** Work for...
1
4712
by: =?Utf-8?B?Q29kZVNsaW5nZXI=?= | last post by:
I plan to build my own 2008 Server/Hyper-V system and will not be using one of the tested Dell or HP systems from the release notes and could use some pointers as to my assumnptions and answers to...
0
7128
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
7006
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
7215
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
7385
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
5467
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
4597
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
3096
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
3088
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
294
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.