Why got garbage code when sending email through CDO.Message

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Save the following code as a.vbs, run it, it shows an error message with
garbage code in Chinese windows.

I know the error reason, just wanna see normal error message.

Could you help? Thanks!
---
Dim o
Set o = CreateObject("CDO.Message")

o.From = "a@xxxxx"
o.To = "a@xxxxx"
o.Subject = "abc"
o.TextBody = "abc"
With o.Configuration
.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing";) = 2
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver";) =
"mail.isoft-asia.com"
.Fields.Update
End With
o.Send

.



Relevant Pages