Why got garbage code when sending email through CDO.Message
- From: hghua <hghua@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Oct 2008 02:14:06 -0700
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
.
- Prev by Date: Exchange Webservice
- Next by Date: Re: Copy appointment to public folder C# problem
- Previous by thread: Exchange Webservice
- Next by thread: Ex2k7 / ESM: Possible to extend mailbox administration dialog?
- Index(es):
Relevant Pages
|