1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ASP.net and CDONTS???

Discussion in 'Plesk for Windows - 8.x and Older' started by ccns, May 8, 2006.

  1. ccns

    ccns Guest

    0
     
    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.
     
  2. ccns

    ccns Guest

    0
     
    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 "wes@ccns.biz", "sales@ccns.biz", "Hello", _
    "I sent this in 3 statements!", 0 ' low importance
    Set objNewMail = Nothing ' DO NOT reuse the object for another message

    %>

    Thanks.
     
Loading...