CDO.dll or cdosys.dll

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?SmVycnkgQw==?=

    #1

    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
  • Steven Cheng [MSFT]

    #2
    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)


    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: msdnmg@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= =?= <jerryed@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
    >

    Comment

    • Steven Cheng [MSFT]

      #3
      RE: CDO.dll or cdosys.dll

      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:
      msdnmg@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: stcheng@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: msdnmg@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

      Comment

      • =?Utf-8?B?SmVycnkgQw==?=

        #4
        RE: CDO.dll or cdosys.dll

        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:
        msdnmg@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: stcheng@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)


        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: msdnmg@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
        >
        >

        Comment

        • Steven Cheng [MSFT]

          #5
          RE: CDO.dll or cdosys.dll

          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:
          >msdnmg@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: stcheng@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: msdnmg@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
          >>
          >>
          >

          Comment

          Working...