Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDO emails
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01444880
Message ID:
01445404
Views:
133
This message has been marked as a message which has helped to the initial question of the thread.
Try to add
.BodyPart.Charset = "big5"
>Yes I did. The code is as follows.
>
>
>...
>With This.oMsg
>	.From     = This.cFrom
>	.ReplyTo  = This.cReplyTo
>	.To       = This.cTo
>	.CC       = This.cCC
>	.BCC      = This.cBCC
>	.Subject  = This.cSubject
>
>	If Not Empty(This.cHtmlBody)
>		.HtmlBody = This.cHtmlBody
>		.HtmlBodyPart.Charset="big5"
>	EndIf
>
>	.Textbody=Evl(This.cTextbody,'')
>	.TextBodyPart.Charset="big5"
>	
>	...
>EndWith
>...
>
>
>Ben
>
>>
>>>Thanks. It is okay after creating the text body first. The subject line is also able to show Chinese in plain text emails.
>>>
>>>When I test Html emails, .HtmlBodyPart.Charset="big5" works for email body. However the Chinese in the subject line again becomes question marks. How can I show Chinese character subject in an Html email?
>>>
>>>TIA
>>>
>>>
>>>
>>>>You have to create text body first (as shown in the sample code)
>>>>
>>>>	.Subject  = This.cSubject
>>>>
>>>>	.TextBody = "..."
>>>>	.TextBodyPart.Charset = "big5"
>>>>
>>>>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform