• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

How to replace CDONTS scripts?

O

oscarconect

Guest
Hello!

I'm trying to get some sites working on PLESK. I have a lot of ASP scripts that use CDONTS to send mail.

I know that CDONTS i unavailable in IIS6 so that's probably why it doesn't work. Can any one please tell me how to get my scripts to work? Should I use CDO? Will it work? Is there some kind of built in script for form mails in PLESK? Do i need to define a mail server in the script?

I have made a test file:

<%
Set cdoMessage = CreateObject("CDO.Message")

With cdoMessage
.From = "[email protected]"
.To = "[email protected]"
.Subject = "Sample CDO Message"
.TextBody = "This is a test for CDO.message"
.Send
End With

Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>

Just to try if CDO works, but it doesn't.

All I get is 500 Internal Server Error

"The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

Can anyone please tell me how to get a more detailed error? I have tried lot's of things.


I have seen lot's of sollutions that involve copying cdonts.dll from a W2K-server and using port 8025 and what not, but I don't want that. There should be a way to get this to work i PLESK shouldn't there?

/Oscar
 
Back
Top