set myMail = Server.CreateObject("CDONTS.NewMail")
with myMail
.To = "me@hotmail.com" 'email 'other emails?
.CC = "you@domain.com"
.From = "DB Monitor"
.Subject = "Notification of Database problem"
strBody = myServer & " is having performance problems and/or appears to be down. Please investigate"
.Body = strBody
end with
response.write strBody
myMail.send
myMail.Close
set myMail = nothing
[/code]
And the line for the error is the line with strBody ="..."
Any ideas?
TIA
Bastien
Cat, the other other white meat
with myMail
.To = "me@hotmail.com" 'email 'other emails?
.CC = "you@domain.com"
.From = "DB Monitor"
.Subject = "Notification of Database problem"
strBody = myServer & " is having performance problems and/or appears to be down. Please investigate"
.Body = strBody
end with
response.write strBody
myMail.send
myMail.Close
set myMail = nothing
[/code]
And the line for the error is the line with strBody ="..."
Any ideas?
TIA
Bastien
Cat, the other other white meat