Tech Support > Microsoft Windows > Windows Server > How to implement CDonts on 2003 server (Can't alter current apps)
How to implement CDonts on 2003 server (Can't alter current apps)
Posted by Grahammer on June 8th, 2004


Hi!

Our main server is running Windows NT4. It contains many pages that use
CDONTS to generate email.

Our development server is running Windows 2003, so does not have CDONTS
implemented.

I know that CDONTS can be made to work on a Windows 2003 server, but we have
not have any success in doing so.

Are there any detailed instructions available to implement CDONTS on a
Windows 2003 server out on the net? Google hasn't proven very helpful (most
hits are CDONTS to CDO conversion) and Microsofts support site leaves much
to be desired.

Any help is appreaciated!!


Posted by Grahammer on June 8th, 2004



"Grahammer" <dont.spam@me.here> wrote in message
news:%23cgJYQaTEHA.544@TK2MSFTNGP11.phx.gbl...
does not have CDONTS implemented. I know that CDONTS can be made to work on
a Windows 2003 server, but we have not have any success in doing so.

Something I forgot to mention...

We do not use the SMTP service in Windows 2003... We have a third party
email server running.



Posted by Egbert Nierop \(MVP for IIS\) on June 8th, 2004


"Grahammer" <dont.spam@me.here> wrote in message
news:%23h19STaTEHA.2716@tk2msftngp13.phx.gbl...
In that case, CDONTS -never- can work. CDO instead, can be configured to run
on any SMTP server...

sample:
Set mail = CreateObject("CDO.Message")
Set mailConfig = CreateObject("CDO.Configuration")
with mailConfig.fields
.item("http://schemas.microsoft.com/cdo/configuration/sendusing").value =2
.item("http://schemas.microsoft.com/cdo/configuration/smtpserver").value =
"192.168.0.7"
.item("http://schemas.microsoft.com/cdo/configuration/sendpassword").value
= "secret"
.item("http://schemas.microsoft.com/cdo/configuration/sendusername").value
= "maikl@mail.invalid"
.update
End With

Set mail.Configuration = mailConfig
Mail.To = "egbert_nierop@mail.invalid"
Mail.From = "youremail@blah.com"
mail.Subject ="Тест"
mail.textbody = "да ва ла ла ла"
mail.bodypart.CharSet = "utf-8"

Mail.Send


Posted by Grahammer on June 9th, 2004


We can install the SMTP service if necessary. We just want to avoid becoming
an open relay or interfering with our current server software.

Using CDO is not an option because the code won't work on our NT server.



Posted by Eric Weintraub on June 9th, 2004


On 6/8/04 6:01 PM, in article #cgJYQaTEHA.544@TK2MSFTNGP11.phx.gbl,
"Grahammer" <dont.spam@me.here> wrote:


1) Install SMTP if not already done

2) Get the CDONTS.SYS file from another server that has it, if you can find
it email me at eric@<removethis>scriptlogic.com and I can send it to you.
Copy the file to the new server under windows\system32\

3) RegSrv32 c:\windows\system32\cdonts.sys

And your done!

If it doesnt work post back and I will look at my server, at home and I am
not looking at it.

J5 - Eric A. Weintraub
Sr. Network Administrator
ScriptLogic Corp
--



Posted by Eric Weintraub on June 9th, 2004


On 6/8/04 6:01 PM, in article #cgJYQaTEHA.544@TK2MSFTNGP11.phx.gbl,
"Grahammer" <dont.spam@me.here> wrote:


We use CDONTS on Windows 2003 Servers. As far as the relay go into the
properties and change the relay settings and the other access settings and
allow only 127.0.0.1 and change the server code to point to 127.0.0.1

Cheers

J5 - Eric A. Weintraub
Sr. Network Administrator
ScriptLogic Corp
--



Posted by Egbert Nierop \(MVP for IIS\) on June 9th, 2004


"Grahammer" <dont.spam@me.here> wrote in message
news:upvC$YbTEHA.2692@TK2MSFTNGP09.phx.gbl...

just copy the CDONTS.dll to 2003 and run regsvr32.exe against it. But the
SMTP service must be running. And win 2003 **surely** will not become an
open relay by default. MS is not that stupid


Posted by Kristofer Gafvert on June 9th, 2004


And to add to this, this will most likely violate the EULA. Microsoft had
this tip on their website for some time, but then removed it(!). I would
check with Microsoft before doing this, so you do not end up with something
that is not allowed.

--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - When you need help!


"Egbert Nierop (MVP for IIS)" <egbert_nierop@nospam.invalid> wrote in
message news:OmIf96eTEHA.3016@tk2msftngp13.phx.gbl...


Posted by Egbert Nierop \(MVP for IIS\) on June 10th, 2004


"Kristofer Gafvert" <kgafvert@NEWSilopia.com> wrote in message
news:eZoS5OfTEHA.2544@TK2MSFTNGP10.phx.gbl...
CDONTs uses the same API internally as CDO. It only asks the SMTP api, to
create a message in the pickup directory. Since this is createing a lot of
security issues on NTFS it is deprecated.

I'm not really shocked about this. I never would use this trick myself but
there are a lot of 'unallowed' configs. (Such as stripped windows versions
for special firewall software (+$ 40K!) )
MS does not send the FBI to such customers for unallowed configs! It's just
that **if** the customer ever calls product support (pss), and pss
understands that a non-supported config is used, support will not be given.


Posted by steve on June 26th, 2004


is it the cdonts.sys or cdonts.dll file?
also i am hosting my own email on my webserver as well
using smtp. will this interfere with the email from our
website which also uses smtp?


Similar Posts