Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CDO emails
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01444880
Message ID:
01445385
Vues:
79
>Did you try to set TextBodyPart.Charset = "big5" as well?

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"
>>>
>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform