SMTP: Attachments Seem Corrupted or Garbled
Last reviewed: October 20, 1997
Article ID: Q118487  
2.10 3.00 MS-DOS The information in this article applies to: Microsoft Mail Gateway to SMTP, versions 2.1 and 3.0 
SYMPTOMS
Attachments of mail messages from the Microsoft Mail Gateway to SMTP may appear as in the body of messages and seem corrupted. They may also seem corrupted if you try to open them with their programs. CAUSE
Attachments are coming in encoded in a format not supported by the SMTP Gateway. The SMTP Gateway supports the TEXT and UUENCODE formats of experimental protocol RFC 1154 ONLY. The uuencode used is Sun's uuencode 5. The SMTP Gateway does not support: uuencoded files sent using the hex format instead of uuencode 
AppleSingle file format 
AppleDouble file format  

解决方案 »

  1.   

    uuencode
    (UNIX to UNIX encoded) A UNIX utility for encoding binary data into ASCII, by splitting every three octets into four sextets and offsetting each sextet by 32 decimal. 
    ___________
    附件是什么格式没有关系.
      

  2.   

    早期在许多 unix 系统的传送协定只能传送七位元字元,并不支援二进位档案,像中文文字档就有用到八位元,所以无法完整地送到另一架机器上。 uuencode 指令,可以将二进位档转换成七位元的档案,传送到另一架机器上再以 uudecode 还原。最常见的是用在以电子邮件传送二进位档。uuencode 编码后的资料都以 begin 开始,以 end 作为结束。
      

  3.   

    SMTP协议可以发送任意格式的附件。只要你想发。
    uuencode
    (UNIX to UNIX encoded) A UNIX utility for encoding binary data into ASCII, by splitting every three octets into four sextets and offsetting each sextet by 32 decimal.
      

  4.   

    uuencode 好像用0xff进行转义