I have a written VBS script that does some monitoring and other admin stuff
and at times I configure it with CDOSYS to send me an email when certain
thing occur. Everything works great on any server, W2K, W2K3, XP, etc,
except ISA Server on W2K.
Is this just a config problem on my ISA or will it not work on ISA? Anyone
tried this before. The error I get only on ISA server is "CDO.Message.1
error '80040213' The transport failed to connect ".
Below is the snippet from my script that uses CDOSYS:
---------------
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "admin email address"
objEmail.To = "my email address"
objEmail.Subject = "FAILED Process for " & ComputerName
objEmail.Textbody = " The following process has failed for " &
Computername & " : " & sensorProcess
objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configu
ration/sendusing") = 2 '1=use local SMTP server; 2= use remote SMTP server
objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configu
ration/smtpserver") = "smtp server"
objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configu
ration/smtpserverport") = 25
objEmail.Configuration.Fields.Update
objEmail.Send
----------------
Beast regards,
Mark