?
Solved

CDONTS on NT4 Workstation

Posted on 2001-09-10
3
Medium Priority
?
236 Views
Last Modified: 2008-02-01
I have successfully written Code that utilises CDONTS and sends email after collecting information from a form that I developed on Windows 2000.

Some of our clients are using Win NT4 Workstation with IIS as their web server. I know CDONTS is OK on Win NT4 Server.

How do I install CDONTS onto Win NT4 workstation machine running Option Pack & IIS4 (microsoft notes say by installing Outlook 98 but I have only got versions 97 & 2000)?

Thanks
0
Comment
Question by:dphook
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
mgfranz earned 300 total points
ID: 6470822
You don't CDONTS requires the SMTP Service that gets loaded with IIS 4, loading the Option Pack on Workstation will not load all the features of NT Server IIS.  One major issue with running IIS on Workstation is the number of concurent connections is limited to 3, (might be 10).

Installing Outlook ~might~ install the SMTP service, but I wouldn't bet a paycheck on it.  Exchange would, but you have to be running Server in order to install Exchange.

Besides, anyone using Workstation as their server is just looking for trouble...

Suggest they upgrade to W2K, both Professional and Server install the SMTP service when IIS is installed.
0
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 6471229
Another option is to install ASPemail by Persits. The syntax is very similar to CDONTS so you won't have to change your code much. The benefit that it has over CDONTS is that it allows you to specify an smtp service that can be on any server while CDONTS under NT 4.0 requires smtp on the local server.

Sample code:

dim objMail
dim strMsg
set objMail = CreateObject("Persits.MailSender")
     objMail.host = "smptp.somewhere.net"
     objMail.From = "Your@Address.com"
     objMail.AddAddress  strcemail    
     objMail.Subject = "Some Subject"
     strMsg =     "Thank you for new application."  & Chr(10) & Chr(10) &_
                    "Please make a note of the following for your records: " & Chr(10) & Chr(10) &_  
                    "Your Username is: " & strusr_nam & Chr(10) &_
                    "Your Password is: " & strpss_wrd & Chr(10)
     objMail.Body = strMsg
     On Error Resume Next
     objMail.Send
     If Err <> 0 Then
           Response.Write "Error encountered: " & Err.Description
     End If          
     Set objMail = Nothing


You can get the software at :
http://www.persits.com/

A simple version without message queing is free. I have used it with Windows NT 4 and Windows 2000, and it has worked perfectly.

Fritz the Blank
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 6471307
While that wasn't the question, it is a good bit of information.  

There are dozens of alternative email solutions available, Some free, some not.  I used JMail when I was in your situation dphook, but read my first comment thouroughly before using a component...
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question