Search Engine: Elastic

Article ID: 2429, created on Oct 29, 2007, last review on Apr 17, 2012

  • Applies to:
  • Pro Control Panel Windows


View Knowledge
Knowledge ID 1195
Product : WEBppliance for Windows
Version : 3.0
Topic : FAQ

How do I set up CDONTS?

How do I set up CDONTS?


To enable CDONTS do the following:

1)   In Internet Services Manager, the Default SMTP Server should be on a port other than 25.

 2)   The outgoing port should be left on port 25.

 Then you should start the Default SMTP Server. Ensure the Default SMTP Server auto starts at boot.

For WEBppliance 3.0 for Windows you also need to change the permissions on the C:\InetPub\MailRoot\Pickup folder. Do the following:

3)   Bring up the permissions on the Pickup folder:

 4)   Uncheck “Allow inheritable permissions from parent to propagate to this object.” And then click Copy.

 5)   Then click on WEBppliance siteadmins and in the Permissions box, click on the Allow box for Write and then click apply.

To test that CDONTS is working, run this example script:



<%  Dim objMail  
Set objMail = Server.CreateObject("CDONTS.NewMail")       
 objMail.From = ""     
  objMail.Subject = "How TO send email with CDONTS"     
  objMail.To = ""     
   objMail.Body = "This is an email message" & vbcrlf&_     
   "with CDONTS." & vbcrlf&_     
  "It is really easy. "   
   Response.write("Mail was Sent")  
'You must always do this with CDONTS.  
set objMail = nothing


Related Knowledge

Related Links
Last ModifiedUsageSatisfiedLast Used
9/14/2004 3:44:26 PM35 10/11/2007 10:45:33 PM

8e19bcddff0cc55cafe80c841132ca59 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF