% @ Language="VBScript" %>
<% Option Explicit %>
<%
'#################################################################################
'## Copyright (C) 2000-01 Michael Anderson and Pierre Gorissen
'##
'## This program is free software; you can redistribute it and/or
'## modify it under the terms of the GNU General Public License
'## as published by the Free Software Foundation; either version 2
'## of the License, or any later version.
'##
'## All copyright notices regarding Snitz Forums 2000
'## must remain intact in the scripts and in the outputted HTML
'## The "powered by" text/logo with a link back to
'## http://forum.snitz.com in the footer of the pages MUST
'## remain visible when the pages are viewed on the internet or intranet.
'##
'## This program is distributed in the hope that it will be useful,
'## but WITHOUT ANY WARRANTY; without even the implied warranty of
'## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'## GNU General Public License for more details.
'##
'## You should have received a copy of the GNU General Public License
'## along with this program; if not, write to the Free Software
'## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
'##
'## Support can be obtained from support forums at:
'## http://forum.snitz.com
'##
'## Correspondence and Marketing Questions can be sent to:
'## reinhold@bigfoot.com
'##
'## or
'##
'## Snitz Communications
'## C/O: Michael Anderson
'## PO Box 200
'## Harpswell, ME 04079
'#################################################################################
Dim theComponent(9)
Dim theComponentName(9)
Dim theotherComponent(2)
Dim theotherComponentName(2)
' the components
theComponent(0) = "SMTPsvg.Mailer"
theComponent(1) = "Persits.MailSender"
theComponent(2) = "SMTPsvg.Mailer"
theComponent(3) = "CDONTS.NewMail"
theComponent(4) = "CDONTS.NewMail"
theComponent(5) = "dkQmail.Qmail"
theComponent(6) = "Geocel.Mailer"
theComponent(7) = "iismail.iismail.1"
theComponent(8) = "Jmail.smtpmail"
theComponent(9) = "SmtpMail.SmtpMail.1"
'the other components
theotherComponent(0) = "ASPMail.ASPMailCtrl.1"
theotherComponent(1) = "ocxQmail.ocxQmailCtrl.1"
theotherComponent(2) = "SoftArtisans.SMTPMail"
' the name of the components
theComponentName(0) = "ASPMail"
theComponentName(1) = "ASPEMail"
theComponentName(2) = "ASPQMail"
theComponentName(3) = "CDONTS"
theComponentName(4) = "Chili!Mail"
theComponentName(5) = "dkQMail"
theComponentName(6) = "GeoCel"
theComponentName(7) = "IISMail"
theComponentName(8) = "JMail"
theComponentName(9) = "SMTP"
'the name of the other components
theotherComponentName(0) = "OCXMail"
theotherComponentName(1) = "OCXQMail"
theotherComponentName(2) = "SA-Smtp Mail"
Function IsObjInstalled(strClassString)
On Error Resume Next
' initialize default values
IsObjInstalled = False
Err = 0
' testing code
Dim xTestObj
Set xTestObj = Server.CreateObject(strClassString)
If 0 = Err Then IsObjInstalled = True
' cleanup
Set xTestObj = Nothing
Err = 0
End Function
%>
EMail Component Test
Email Component Test |
The following components are currently available choices in the latest release of Snitz Forums 2000 |
<% Dim i
For i=0 to UBound(theComponent)
Response.Write "" & theComponentName(i) & ": | "
If Not IsObjInstalled(theComponent(i)) Then
Response.Write "not installed"
Else
Response.Write "installed!"
End If
Response.Write " | " & vbNewline
Next %>
|
Email Component Test |
The following components are not currently available choices in the latest release of Snitz Forums 2000 but mods are available to add them. |
<% Dim j
For j=0 to UBound(theotherComponent)
Response.Write "" & theotherComponentName(j) & ": | "
If Not IsObjInstalled(theotherComponent(j)) Then
Response.Write "not installed"
Else
Response.Write "installed!"
End If
Response.Write " | " & vbNewline
Next %>
|