Hey!!
I have a script that reads all lines from a textfile into a mail and sends it. This worked fine as a script on my Win2000 Server, but then we upgraded, and now it doesn't work. Is this something with CDO not installed, and in that case, can you install it?? Below are my mailcode:
set oMessage = CreateObject("CDONTS.NewMail"
oMessage.Subject = "Uptime"
oMessage.From = "Uptime_Batch"
oMessage.To = "mail@host.com"
oMessage.Body = TSrvinfo & vbCrlf + vbCrlf & vbCrlf & srvinfo
oMessage.Send
set oMessage=nothing
Thanks
I have a script that reads all lines from a textfile into a mail and sends it. This worked fine as a script on my Win2000 Server, but then we upgraded, and now it doesn't work. Is this something with CDO not installed, and in that case, can you install it?? Below are my mailcode:
set oMessage = CreateObject("CDONTS.NewMail"
oMessage.Subject = "Uptime"
oMessage.From = "Uptime_Batch"
oMessage.To = "mail@host.com"
oMessage.Body = TSrvinfo & vbCrlf + vbCrlf & vbCrlf & srvinfo
oMessage.Send
set oMessage=nothing
Thanks