Menu

Viewing mail with Japanese characters

2007-07-18
2013-04-22
  • ssramalingam

    ssramalingam - 2007-07-18

    Hi,

    I am able to sucessfully use this tool in english. Many thanks for the same.

    I have a requirement to convert this tool, so that Japanese users can use this. Initially I had difficulty in sending the mail in Japanese, but after setting the charset to UTF8, outgoing mails in Japanese is going without any issues.
    fyi, I am using hmailserver as mail server and when if I see the message that I sent in outlook then it is showing the Japanese characters correctly.

    But when I view the same message in sharpwebmail client, I am not getting it correctly.

    Probably I am missing some setting. Can anybody help me in this regard.

    Looking forward to your reply

    Thanks

     
    • Angel Marin

      Angel Marin - 2007-07-19

      - What smtp_engine have you configured?
      - Which is the server's encoding (I mean is it a Japanese or english windows installation)?
      - Can you send me a sample raw message as stored in the server and zipped?

       
    • ssramalingam

      ssramalingam - 2007-07-20

      Thanks for the reply. Answer for your questions:

      1.We are using opensmtp
      2.You mean email server - we are using hmail server - english windows installation
      3.Following is the text portion of the eml file that I have. Note that I am able to see the message in outlook but getting blank in sharpwebmail

      Return-Path: <test2@matchpoc.com>
      Received: from PCO27470 ([10.238.229.161])
          by 10.238.229.170
          with hMailServer ; Thu, 19 Jul 2007 12:00:30 +0500
      Message-ID: <A69E5E8F-7059-4560-9231-2738C8D45467@10.238.229.170>
      Reply-To: "=?UTF-8?Q?=E5=B7=AE=E5=87=BA=E4=BA=BA?=" <test2@matchpoc.com>
      From: "=?UTF-8?Q?=E5=B7=AE=E5=87=BA=E4=BA=BA?=" <test2@matchpoc.com>
      To: <test2@matchpoc.com>
      Subject: =?UTF-8?Q?=E5=B7=AE=E5=87=BA=E4=BA=BA?=
      Date: Thu, 19 Jul 2007 06:30:31 GMT
      X-Mailer: OpenSmtp.net
      X-Mailer:SharpWebMail 0.13.2131.31078
      MIME-Version: 1.0
      Content-Type: text/html;
      charset="UTF-8"
      Content-Transfer-Encoding: quoted-printable

      <html><head><title></title></head><body bgcolor=3D"#FFFFFF" text=3D"#00000=
      0" leftmargin=3D"0" topmargin=3D"0" marginwidth=3D"0" marginheight=3D"0">=E5=B7=
      =AE=E5=87=BA=E4=BA=BA</body></html>

       
      • Angel Marin

        Angel Marin - 2007-07-20

        I meant the web server encoding. If it's a english windows installation, it might not have Japanesse support  installed. Though in such case it wouldn't be able encode it either.

        The mail looks properly encoded, though I can't be sure knowing n

        Can you give a try to the latest development build[1]? It has lost of fixes in it, though not sure if there was something that could be related. You should also consider using the dotnetopenmail engine as it's more robust.

        You can also try adding to your web.config (they're supposed to be the defaults, but you never know) inside the system.web section:

        <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" />

        And remove the meta http-equiv="Content-Type" line from the pages.

        [1] http://anmar.eu.org/projects/sharpwebmail/files/daily/

         

Log in to post a comment.

MongoDB Logo MongoDB