473,657 Members | 2,493 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Web.Mail question

What does this error mean?

Could not access CDO Message Object.

Many thanks.
Nov 16 '05 #1
20 3012
Make sure the SMTP service is running on the machine your using to send
mail. This is a good link for troubleshooting Mail related issues.

http://www.systemwebmail.com/faq/4.aspx

Nov 16 '05 #2
Adrian <xx*@xxx.xx> wrote:
What does this error mean?

Could not access CDO Message Object.


If you search for the error message on Google, you'll find *lots* of
references to it. I believe the InnerException property usually gives
you a lot more information about what's gone wrong.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #3
"Adrian" <xx*@xxx.xx> wrote in news:a5******** *************** ***@freeler.nl:
What does this error mean?

Could not access CDO Message Object.


CDO simply isnt installed on many systems... You can try this:
http://www.codeproject.com/csharp/IndySMTP.asp
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
Nov 16 '05 #4
"Chad Z. Hower aka Kudzu" <cp**@hower.org > wrote in message
news:Xn******** **********@127. 0.0.1...
"Adrian" <xx*@xxx.xx> wrote in

news:a5******** *************** ***@freeler.nl:
What does this error mean?

Could not access CDO Message Object.


CDO simply isnt installed on many systems... You can try this:
http://www.codeproject.com/csharp/IndySMTP.asp
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/


Yes I know about Indy. The trouble is the license. It cannot be
redistributed.
Nov 16 '05 #5
<su************ @gmail.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Make sure the SMTP service is running on the machine your using to send
mail. This is a good link for troubleshooting Mail related issues.

http://www.systemwebmail.com/faq/4.aspx

What do you mean by running - that the pc is connected to the server?
Nov 16 '05 #6
Adrian,
From Windows 2000 server to 2003 server, the default component for

sending local smtp mail changed from the CDONTS COM+ package to the CDO
package. If you have a late version of outlook installed, you'll
probably have the CDO package installed. You can either make a com
interop assembly to use CDONTS or install the CDO package on the
server. System.Web.Mail uses CDO.

Best regards,
Jeffrey Palermo

Nov 16 '05 #7
"Jeffrey Palermo, MCAD.Net" <je************ @gmail.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
Adrian,
From Windows 2000 server to 2003 server, the default component for

sending local smtp mail changed from the CDONTS COM+ package to the CDO
package. If you have a late version of outlook installed, you'll
probably have the CDO package installed. You can either make a com
interop assembly to use CDONTS or install the CDO package on the
server. System.Web.Mail uses CDO.

Best regards,
Jeffrey Palermo


"You can either make a com interop assembly to
use CDONTS" ... wouldn't know how the L to do that.
The only thing I can find on my pc is pkmcdo.dll
Is a cdo package downloadable? Couldn't find a
download option on MSDN.

Apologies for the ignorance.
Nov 16 '05 #8
"Jeffrey Palermo, MCAD.Net" <je************ @gmail.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
Adrian,
From Windows 2000 server to 2003 server, the default component for

sending local smtp mail changed from the CDONTS COM+ package to the CDO
package. If you have a late version of outlook installed, you'll
probably have the CDO package installed. You can either make a com
interop assembly to use CDONTS or install the CDO package on the
server. System.Web.Mail uses CDO.

Best regards,
Jeffrey Palermo


Hi Jeffrey

After a connection with the server has been established, an email can be
sent ok.
However if a connection has not yet been established, I get the "Could not
access
CDO.Message object" error. Is there a way to overcome this, i.e., that a
message
can be sent without first having to manually establish a connection with the
server?

Many thanks,
Adrian
Nov 16 '05 #9
"Adrian" <xx*@xxx.xx> wrote in news:91******** *************** ****@freeler.nl :
Yes I know about Indy. The trouble is the license. It cannot be
redistributed.


You dont understand the license very well if you think it cannot be
redistributed. Where did you get this impression? In fact Indy has two
licenses you can choose from, both of which allow free redistribution.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
Nov 16 '05 #10

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

Similar topics

7
4641
by: Valiz | last post by:
Hi, I am updating system time with IRIG time source which sends irregular pulses as shown below 11000011111100111111111111111111....(1-IRIG present and 0-IRIG not present) I need to update system time when I find a steady pulse or a series of 1's say for a span of 10-15 seconds. Is there a way to implement this in VB6? Thanks in advance. Valiz.
3
3494
by: chuckdfoster | last post by:
When using this bit of code, it sends two emails most of the time. Sometimes it doesn't send two, but most of the time it does. I put the system time (Now) in the Subject and each email has a different time by a minute or so. I also tried to count the number of emails it is sending by using the intEmail = intEmail + 1, but the number is always 1.Could anyone tell me why this is happening or give me advice on how to change it. Thanks...
8
1918
by: Ajit | last post by:
Is there anyway to move attachments from a incoming email into a specified folder using System.Web.Mail ? has anyone done this ? Any help is appreciated.
4
1032
by: rroman | last post by:
I've referenced System.Web.Dll in my project and running Imports System.Web.Mail in AssemblyInfo.vb but MailMessage and SmtpMail are still "undefined".
2
3489
by: Ryan | last post by:
Hi, I receive an access denied error (see below) when attempting to send an email with BodyFormat=MailFormat.Html from an asp.net page. Exactly the same code works fine in a console application, and also succeeds from the asp.net page with BodyFormat=MailFormat.Text. I've recently upgraded from W2K SP4 to WinXP SP2 and am using .Net Framework v1.1 SP1. The code worked fine under W2K SP4.
0
2400
by: howardr101 | last post by:
Hi, Have hunted around on the groups and can't find anything, hence. I've tried this against 2 mail servers (mailtraq and hmailserver) and it occus with both. The problems seems to be that when the SMTPClient attaches to the server and the server sends it greeting message, if anything other than +OK is received by the client it throws an exception and falls over.
6
3539
by: Anthony P. | last post by:
Hello Everyone, I'm attempting to create a new MailMessage object by following a tutorial and I can't seem to get it right according to VS 2008. I'm hoping someone here can help me find out what I am doing wrong. I would greatly appreciate it: First, I am importing the System.Net.Mail class like this: Imports System.Net.Mail
3
2183
by: Ben | last post by:
Hi, I'm new to VB.Net programming, and am trying to learn VB using the new Visual Studeio 2008 Express Edition. I've decided just to jump straight in and try to program a simple mail form with 3 fields, 'to', 'subject' & 'body'. Running through the debugger, most of the code seems to work, however I keep getting the following security error, even though I have set the application as a full trusted application. A first chance exception...
5
8312
by: Henry Stock | last post by:
I am trying to understand the following error: Any thing you can tell me about this is appreciated. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: for the permission of type
0
8421
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8844
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8518
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8621
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5643
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1734
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.