473,385 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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\MSMAPI\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.DropDirectory
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 7192
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****@microsoft.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\MSMAPI\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.DropDirectory
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****@microsoft.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****@microsoft.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****@microsoft.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****@microsoft.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****@microsoft.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****@microsoft.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
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...
16
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....
21
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...
14
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...
24
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...
8
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...
2
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...
8
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...
9
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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,...

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.