Solved

CDONTS on NT4 Workstation

Posted on 2001-09-10
3
233 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
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
mgfranz earned 100 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Microsoft SQL ADO Conn Issue 6 59
FileUp - Classic ASP 5 24
innerHTML 7 40
Html split(text) 2 32
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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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