Quote:
> How come cdonts.dll is part of Windows 2000 Pro but not XP Pro?
Hi
From a newsgroup search in the windowsxp groups using Google
(http://groups.google.com/advanced_group_search ):
<qoute>
-------------------------------------------------------------------
From: Tarren (jojo_the_idiot_circus_clown)
Subject: Re: CDONTS
Newsgroups: microsoft.public.windowsxp.general
Date: 2001-10-18 16:35:17 PST
Windows XP does not come with cdonts installed. You can take cdonts.dll
from the windows 2000 machine and put it in the c:\windows\system32 and then
regsvr32 cdonts.dll
After a reboot, you should be set to go.
-------------------------------------------------------------------
Subject: Re: CDONTS
Newsgroups: microsoft.public.windowsxp.general
Date: 2001-10-31 19:09:00 PST
IIS replaced the old CDONTS with CDOSYS.
Sub SendMessage(szTo As String, szFrom As String)
Dim Message As New CDO.Message
Dim Configuration As New CDO.Configuration
Dim Fields As ADODB.Fields
Set Fields = Configuration.Fields
With Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServerPort) = 25
.Item(cdoSMTPServer) = "yoursmtpserver.domain.com"
.Item(cdoSMTPConnectionTimeout) = 5
.Update
End With
With iMsg
Set .Configuration = Configuration
.To = szTo
.From = szFrom
.Subject = "Test Message"
.TextBody = "Message Text body"
.Send
End With
Set Message = Nothing
Set Configuration = Nothing
Set Fields = Nothing
End Sub
--
Mark L. Ferguson MS-MVP Expert Associate
marfer's notes for XP - http://www.geocities.com/marfer mvp/xp notes.htm
.
Quote:
> What happend to cdonts how do i get this back??? I need it for testing my
> coded pages
-------------------------------------------------------------------
</qoute>
--
torgeir