设置NMSMTP属性栏 
charset 为 134  {GB2312_CHARSET} 
 
其他字符: 
 
ANSI_CHARSET 0 ANSI characters.  
DEFAULT_CHARSET 1 Font is chosen based solely on Name and Size. If the described font is not available on the system, Windows will substitute another font. 
SYMBOL_CHARSET 2 Standard symbol set. 
MAC_CHARSET 77 Macintosh characters. Not available on NT 3.51. 
SHIFTJIS_CHARSET 128 Japanese shift-jis characters. 
HANGEUL_CHARSET 129 Korean characters (Wansung). 
JOHAB_CHARSET 130 Korean characters (Johab). Not available on NT 3.51 
 
GB2312_CHARSET 134 Simplified Chinese characters (mainland china). 
CHINESEBIG5_CHARSET 136 Traditional Chinese characters (taiwanese). 
GREEK_CHARSET 161 Greek characters. Not available on NT 3.51. 
TURKISH_CHARSET 162 Turkish characters. Not available on NT 3.51 
VIETNAMESE_CHARSET 163 Vietnamese characters. Not available on NT 3.51. 
HEBREW_CHARSET 177 Hebrew characters. Not available on NT 3.51 
ARABIC_CHARSET 178 Arabic characters. Not available on NT 3.51 
 
BALTIC_CHARSET 186 Baltic characters. Not available on NT 3.51. 
RUSSIAN_CHARSET 204 Cyrillic characters. Not available on NT 3.51. 
THAI_CHARSET 222 Thai characters. Not available on NT 3.51 
EASTEUROPE_CHARSET 238 Includes diacritical s for eastern european countries. Not available on NT 3.51. 
OEM_CHARSET 255 Depends on the codepage of the operating system

解决方案 »

  1.   

    我使用的是nmpop3没有找到字符集的属性.
    不过我是用stringgrid来显示,我把它的字符集作了设置,但仍然是乱码
      

  2.   

    用INDY里面那个东西看看怎么样
      

  3.   

    这是BASE64或uuencode编码,搜索一下,你会得到很多答案的
      

  4.   

    原来如此.......
    以下是我接收到的邮件主题:
    =?ISO-8859-1?Q?Fw: Fw: =B4=FA=C0=ED=C8=ED=BC=FE?=
    =?GB2312?Q?=B4=BA=BD=DA?=
    都是乱码.但把它们变成汉字也很简单.首先,我们要找到我们需要的数据.
    举例来说:第二个主题我们需要的是:B4=BA=BD=DA
    这是什么呢?其中B4就是第一个汉字的高4位(二进制就是:10110100,十进制180)
    BA就是第一个汉字的低4位(二进制10111010,十进制186)
    接下来只需要chr(180)+chr(186)就等于我们的汉字:春
    同样BDDA就是我们的汉字:节