• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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