Re: .NET 2.0 - Sending Emails - Subject and Attachment Name Encoding Issues

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Aug 21, 4:06 am, UL-Tomten <tom...@xxxxxxxxx> wrote:
On Aug 21, 2:41 am, Shan Plourde <ShanPlou...@xxxxxxxxx> wrote:

The Chinese characters I tried to show just now are not appearing here
on this newgroup when I post through Google Groups. Anyhow, it doesn't
seem to matter what the Characters are that are used, if they are any
Chinese characters then the issue occurs.

Your sample code works as it should when I run it. Could you try the
following:

1. Instead of using the templateManager, try hard-coding a string with
Chinese characters into your code
2. Send the mail to gmail, and click "options" and then "show
original" and tell us what the "subject" line says (it should be
something along the lines of "=?utf-8?B?....==?=");

Hi UL-Tomten, thanks for following up. Actually I lied! I only tested
this with Outlook 2007 at first. After testing --- and I did try
everything that you suggested to isolate stuff, and the subject did
indeed only contain Chinese characters during a debugging session
where I was using the debugger to change message properties and send
to various email addresses --- I have found the following with emails
with Chinese characters in the subject, body and file attachment name:

1. When the email is sent to Gmail and Yahoo email addresses and
viewed with their web viewers, all Chinese characters show correctly
2. When the email is sent to a Microsoft Exchange Server email address
at my company and viewed in my Outlook 2007 client, the subject and
file attachment name show question marks, but the body shows Chinese
Characters
3. When the email is sent to a Gmail email address and viewed with an
Outlook 2007 configured email client that retrieves Gmail mail using
pop3, all Chinese characters show correctly!
4. When the email is sent to a Microsoft Exchange Server email address
at my company and viewed in my company's Microsoft webmail interface,
the same issue - the question marks - again happens
5. Here's an interesting one - when the email is sent to my wife's
work email, which is also Microsoft Exchange Server, her Outlook 2007
correctly shows all Chinese characters!
6. A colleague from another company, which also uses Microsoft
Exchange Server, received the email successfully with the same issue
that I have

I'm not sure what that means then. To summarize though, it's only my
work email that the issue is happening with. Could it be possible that
perhaps then there's some sort of Exchange Server problem? I am not
really sure right now, but interested to know if you may have any
ideas.

Thanks
Shan

.



Relevant Pages

  • Re: Brian Kernighan, maybe Im not worthy, maybe Im scum
    ... but being a Chinaman his address is now in the Chinese characters. ... Foo Ying is also semiracist since it is an old-fashioned mis-spelling ...
    (comp.programming)
  • Re: Error 52: Bad File Name (Chinese characters)
    ... I think I'm going to need to load a library of chinese characters so my ... VBA can't read the spurious characters. ... And I guess that's the overall problem: VBA reads the characters as "?". ... Open FileName For Binary Access Read As f ...
    (microsoft.public.access.modulesdaovba)
  • Re: Combination of English and Chinese characters in Microsoft SQLServer 2000
    ... I ran the query as u suggested and the output for the binary string ... it shows us only English characters whereas the Chinese ... Is it possible to store both English and Chinese characters in the same ... Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books ... ...
    (microsoft.public.sqlserver.tools)
  • Chinese Character Stroke Order Animator
    ... Yes, Chinese characters are difficult. ... That's exactly why "Chinese Character Stroke Order Animator" can help ... Multi-language interface including English, Simplified Chinese, ...
    (soc.culture.china)
  • Re: Spanish accented characters display as question mark
    ... exchange server is running service pack 3 with the post ... with Spanish accents marks over different characters. ... Spanish accents are transposed to a question mark making ... charset of the sending email server are the same as those ...
    (microsoft.public.exchange2000.transport)