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:
01445404
Vues:
134
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform