473,722 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDO.dll or cdosys.dll

I am working on a program that gets mail messages from the default SMTP
server with iis 6.0 on windows server 2003. I am using the cdosys.dll in the
system32 directory. The reference Name is "Microsoft CDO for Windows 2000
Library".

On the machine there is a CDO.dll in the Program Files\Common
Files\System\MS MAPI\1033 directory.

The question is which one of these is the current dll. I also wonder if
there is better way to access mail messages in the SMTP server. Does the
dotnet framework have a object for this like system.net.mail that does this.

I am using the objects:
Dim objDropDir As New CDO.DropDirecto ry
Dim objMessages As CDO.IMessages
Dim objMailMessage As CDO.IMessage
Dim MailAttachments As CDO.IBodyParts
Dim MailAttachment As CDO.IBodyPart

to get messages in the drop directory (.eml files) open them and get any
attached file.

Thank you
--
Jerry
Aug 14 '08 #1
4 7211
Hi Jerry,

As for the CDO.dll , it is a Mail message component based on the MAPI
providers(work mostly as exchange client). While CDOSYS.dll is a standalone
library for SMTP messaging(not rely on the MAPI providers or exchange
server). Here is a knowledge base article mentioned the version information:

#Where to acquire the CDO Libraries (all versions)
http://support.microsoft.com/kb/171440

BTW, for the System.Net.Mail classes in .net framework, so far based on my
understanding, that namespace provide some classes for sending emails via
SMTP protocol. However, it doesn't support reading or parsing existing
email messages(file based).

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my manager
at: ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response

from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take

approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution.

The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump

analysis issues. Issues of this nature are best handled working with a
dedicated Microsoft Support

Engineer by contacting Microsoft Customer Support Services (CSS) at

http://support.microsoft.com/select/...tance&ln=en-us.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.--------------------
>From: =?Utf-8?B?SmVycnkgQw= =?= <je*****@nospam .nospam>
Subject: CDO.dll or cdosys.dll
Date: Thu, 14 Aug 2008 09:22:01 -0700
>
I am working on a program that gets mail messages from the default SMTP
server with iis 6.0 on windows server 2003. I am using the cdosys.dll in
the
>system32 directory. The reference Name is "Microsoft CDO for Windows 2000
Library".

On the machine there is a CDO.dll in the Program Files\Common
Files\System\M SMAPI\1033 directory.

The question is which one of these is the current dll. I also wonder if
there is better way to access mail messages in the SMTP server. Does the
dotnet framework have a object for this like system.net.mail that does
this.
>
I am using the objects:
Dim objDropDir As New CDO.DropDirecto ry
Dim objMessages As CDO.IMessages
Dim objMailMessage As CDO.IMessage
Dim MailAttachments As CDO.IBodyParts
Dim MailAttachment As CDO.IBodyPart

to get messages in the drop directory (.eml files) open them and get any
attached file.

Thank you
--
Jerry
Aug 15 '08 #2
Hi Jerry,

How are you doing?
Have you got any further ideas or still have any question on this issue?

Sincerely,

Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: st*****@online. microsoft.com (Steven Cheng [MSFT])
Organization : Microsoft
Date: Fri, 15 Aug 2008 06:34:56 GMT
Subject: RE: CDO.dll or cdosys.dll
>Hi Jerry,

As for the CDO.dll , it is a Mail message component based on the MAPI
providers(wo rk mostly as exchange client). While CDOSYS.dll is a
standalone
>library for SMTP messaging(not rely on the MAPI providers or exchange
server). Here is a knowledge base article mentioned the version
information:
>
#Where to acquire the CDO Libraries (all versions)
http://support.microsoft.com/kb/171440

BTW, for the System.Net.Mail classes in .net framework, so far based on my
understandin g, that namespace provide some classes for sending emails via
SMTP protocol. However, it doesn't support reading or parsing existing
email messages(file based).

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my
manager
>at: ms****@microsof t.com.

============== =============== =============== ======
Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response

from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
u
Aug 19 '08 #3
Steven,

Thank you.
I will be using the CDOSYS.dll.

Even thought my question seems basic your answers and Knowledge saves me a
lot of time determining if I am using the correct technology for the given
task. You provide a valuable service.

Thank you
--
Jerry
"Steven Cheng [MSFT]" wrote:
Hi Jerry,

How are you doing?
Have you got any further ideas or still have any question on this issue?

Sincerely,

Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: st*****@online. microsoft.com (Steven Cheng [MSFT])
Organization: Microsoft
Date: Fri, 15 Aug 2008 06:34:56 GMT
Subject: RE: CDO.dll or cdosys.dll
Hi Jerry,

As for the CDO.dll , it is a Mail message component based on the MAPI
providers(work mostly as exchange client). While CDOSYS.dll is a
standalone
library for SMTP messaging(not rely on the MAPI providers or exchange
server). Here is a knowledge base article mentioned the version
information:

#Where to acquire the CDO Libraries (all versions)
http://support.microsoft.com/kb/171440

BTW, for the System.Net.Mail classes in .net framework, so far based on my
understanding, that namespace provide some classes for sending emails via
SMTP protocol. However, it doesn't support reading or parsing existing
email messages(file based).

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my
manager
at: ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response

from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
u

Aug 21 '08 #4
You're welcome:)

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
--------------------
>Subject: RE: CDO.dll or cdosys.dll
Date: Thu, 21 Aug 2008 06:58:00 -0700
>
Steven,

Thank you.
I will be using the CDOSYS.dll.

Even thought my question seems basic your answers and Knowledge saves me a
lot of time determining if I am using the correct technology for the given
task. You provide a valuable service.

Thank you
--
Jerry
"Steven Cheng [MSFT]" wrote:
>Hi Jerry,

How are you doing?
Have you got any further ideas or still have any question on this issue?

Sincerely,

Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
>suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

============== =============== =============== ======
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.
>============== =============== =============== ======
This posting is provided "AS IS" with no warranties, and confers no
rights.
>>
--------------------
>From: st*****@online. microsoft.com (Steven Cheng [MSFT])
Organization : Microsoft
Date: Fri, 15 Aug 2008 06:34:56 GMT
Subject: RE: CDO.dll or cdosys.dll
>Hi Jerry,

As for the CDO.dll , it is a Mail message component based on the MAPI
providers(wo rk mostly as exchange client). While CDOSYS.dll is a
standalone
>library for SMTP messaging(not rely on the MAPI providers or exchange
server). Here is a knowledge base article mentioned the version
information:
>
#Where to acquire the CDO Libraries (all versions)
http://support.microsoft.com/kb/171440

BTW, for the System.Net.Mail classes in .net framework, so far based on
my
>understandin g, that namespace provide some classes for sending emails
via
>SMTP protocol. However, it doesn't support reading or parsing existing
email messages(file based).

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
>suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my
manager
>at: ms****@microsof t.com.

============== =============== =============== ======
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.
>
Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
>where an initial response

from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
>u

Aug 22 '08 #5

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

Similar topics

1
1598
by: Paxton | last post by:
Is it necessary to set field configurations for CDOSYS? I have yet to recode all my existing uses of CDONTS over to CDOSYS. In most of the sample code I've seen on the usual ASP sites, there is code to set field configurations for CDOSYS (usually using With... End With). However, in a number of CDOSYS-related code samples offered within this news group, the field configuration code is absent.
16
3169
by: tshad | last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine. They're getting an error from: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") I know that the new format is:
21
4008
by: tp | last post by:
HI..... I have made simpale web site inside that i am generating email page which send form as email. i have setup small business server with Exchange server 2003 and i have hosted my website with this server. i can not generate email using following code while same code working with my developement XP machine installed SMTP service.
14
13426
by: Neil Ginsberg | last post by:
I am using VBA/Access to send SMTP mail using CDO. I set a reference to "Microsoft CDO for Windows 2000 Library" (cdosys.dll). Everything works fine, both on my PC and on another PC. However, on another PC that the database was installed on, the user is getting the message, "The project contains a missing or broken reference to the file 'CDO.DLL' version 1.21." However, I don't have a reference to cdo.dll; my reference is to cdosys.dll....
24
6268
by: Manuel | last post by:
Is it possible to embed an image, like a company logo in a CDOSYS generated message? If yes, I´ll apreciate some code sample. I´ve been able to format messages in html the way I like, but I can't figure out how to embed an image. Thanks for your time. -- Manuel
8
7544
by: Akbur | last post by:
Dear all, I'm having major issues sending an email from my ASP.NET app. I'm getting a "Could not create 'CDO.Message' object". When I did a search for cdosys.dll in \win_location\system32, I could not find it. So I copied it from another Windows 2003 server, where it did exist. Another dependant file was missing too (inetcomm.dll).
2
5366
by: mister-Ed | last post by:
Trying to use cdosys mail, but this is giving me an "no such object" error. the hosting company is not much help, but their list of components offered does include cdosys mail: <form method="post" action="cdosys-godaddy.asp"><p class="bodymd- wh">Your Name: <input type="text" name="uname" id="uname"> <br>City: <input type="text" name="city" id="city"> <br>State:
8
3260
by: worldofrugs | last post by:
I'm hosted on a shared server with Godaddy.com... I have several forms on my website that all use the same ASP file to send out my forms.. It worked fine for a long time, but now the forms send to my e-mail arrive after a few hours instead of instantly. Calling Godaddy did not help as they stated all is working fine (no delays) on their end and refuse to help with custom scripts.. My emails are also hosted by godaddy like my website. ...
9
3027
by: paulmitchell507 | last post by:
I have a file called email2.asp which I am using to mail data obtained from a SQL query. I would like to pass the holiday_ID value in the querystring attached to the end of the URL. It all works except that I can't get the value of holiday_ID included as a querystring. As a test I can insert a value after the ?id= and this is passed as a querystring. I am sure it's just the syntax that I am having problem with
0
8860
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9376
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...
0
9234
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9150
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,...
1
6678
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
5994
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
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2599
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2146
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.