Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,
I am trying to run a vb script that will send email in Japanese, but while receiving email I am getting subject and text body as ?????.
VB
Mail.From ="test@gmail.com"  
   		        
sendEmail = False

strSubject = "契約ID : 契約タイプ :"   
      		
strTextBody= "契約ID : 契約タイプ :" 	
	            
Mail.To = "siddharthroy88@gmail.com"

Mail.Subject = strSubject

Mail.TextBody = strTextBody

Mail.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="smtp server"		             

Mail.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2

Mail.Configuration.Fields.Update

Mail.Send

msgbox(strTextBody)

Set Mail = Nothing

Please suggest how to encode this in Japanese using VB script

Please suggest how to encode this
Posted
Updated 20-May-13 0:54am
v4
Comments
Sergey Alexandrovich Kryukov 20-May-13 6:54am    
What do you mean by "Japanese encoding"? If you are still not using Unicode, you are out of civilization. You post is written using Unicode, not "Japanese encoding", which does not actually exist, even "Japanese script" doesn't.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900