469,887 Members | 1,263 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,887 developers. It's quick & easy.

*HELP:Jmail Issue - unable to read unicode characters

borisding
Hi there,

I'm using Jmail for sending email with some attachments. Basically, I will need to send out email with the contents in unicode characters such as Simplified Chinese, Japanese etc.

I have tried out and all characters are displayed well, if ONLY for me to send it to webmail such as Yahoo!/Gmail. However, I was unable to read the characters when sending to my own company email address, even on the company's webmail. All characters look weird in Microsoft Outlook/Company webmail, something like so:



Here is the Jmail code looks like:
Expand|Select|Wrap|Line Numbers
  1. ' This is my local SMTP server
  2.     JMail.ServerAddress = "mail.domain.com:25"
  3.     JMail.Sender = email
  4.     JMail.SenderName = username
  5.         JMail.Charset = "936"
  6.     'Jmail.Encoding = "base64"
  7.         'JMail.ContentTransferEncoding = "base64"
  8.     JMail.Subject = subject
  9.  
  10.     JMail.AddRecipient "user@domain.com"
  11.  
  12.      JMail.HTMLBody = "<font face='Verdana' size='2'>" &_
  13.     body &_
  14.     "<br></font>"
  15.     JMail.AddAttachment Server.Mappath(Application("rootFolder")) & "\" & Upload("file1").FileName
  16.  
For instance, I am using Charset 936 for Simplified Chinese and Charset 930 for Japanese. I am able to read in Yahoo!/Gmail. However, I am not allowed to read the text on the company webmail, and the outlook 2003 as well.

Appreciated if someone could give me some advice what would be the problems and what should I do?

Thanks so much!!
May 25 '09 #1
2 3814
jhardman
3,406 Expert 2GB
I keep scratching my head about this, and I find it hard to answer. It sounds to me like a flaw in Outlook. Have you tried opening it Outlook that has been set to a default language of Japanese or Chinese?

Jared
May 29 '09 #2
Thanks for your advice Jared!

I have read on some forums and for those who had encountered this problem were advised to check on the Outlook's setting. However, it seems doesn't help much for solving this.

All this while, I am able to read the unicode characters such as Chinese characters in Outlook and also, I have tried to forward the copy from Yahoo!/Gmail to my company email address and try to open in Outlook, it's all displayed well.

Until now, I have no ideas at all what is actually going wrong with this.Sigh!
May 29 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by | last post: by
2 posts views Thread by Ddraig | last post: by
1 post views Thread by Chriz Yuen | last post: by
3 posts views Thread by tvn007 | last post: by
reply views Thread by =?Utf-8?B?dGVzaHRyYWRlQGdtYWlsLmNvbQ==?= | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.