• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

ASP.net and CDONTS???

C

ccns

Guest
I have a Windows Server 2003 machine with PLESK 7.5.6 Unlimited domains and PowerPack.

I have a client trying to send email in asp.net using CDONTS. (Code is below)

Test code is at: http://missourifsbo.net/admintest.asp

Code:


Error in log files:
2006-05-06 17:57:57 W3SVC29612 ST-FW4FSBDJAJY 208.98.24.130 GET /admintest.asp |3|ASP_0177_:_800401f3|Server.CreateObject_Failed 80 - 138.89.110.119 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.8.0.3)+Gecko/20060426+Firefox/1.5.0.3 - - missourifsbo.net 200 0 0 1610 421 109

Part that matters:
Server.CreateObject_Failed

The customer said that local SMTP must be enabled but I dont know what that is. Any ideas? This would be very helpful. Thank you for your time.
 
I guess it would help if I showed the admintest.asp code so you can see the CDONTS:

<%
Set objNewMail = CreateObject("CDONTS.NewMail")
objNewMail.Send "[email protected]", "[email protected]", "Hello", _
"I sent this in 3 statements!", 0 ' low importance
Set objNewMail = Nothing ' DO NOT reuse the object for another message

%>

Thanks.
 
Back
Top