 4.     SMTP. . 14_______________173

,  ,       ,
 ,    , ,
  ,        -
 .     MIME,  
    :

  MIME     
"Mime-Version:",     MIME 
 .
: "Mime-Version: 1.0".

  "Content-Type:"   :

1. "text"        -
   ,   "charset"
(us-ascii, iso-8859-1, koi8-r, windows-1251  .).
: "Content-Type: text/plain; charset:="iso-8859-l""

2. "multipart"  ,      
 ,       -
.     "boundary",  -
 -  .
: "Content-Type: multipart/mixed; boundary="this is a separator""

3. "application", "image", "audio", "video"  ,   -
    .
: "Content-Type: application/msword; name="file.doc"" 
"Content-Type: image/gif; name="pic.gif"

4. "message"     .

,  "Content-Type: message/RFC-822" , 
  ,     -
,    RFC-822.

 ^)

RFC-822       . 
        -
.  ,      RFC-822,
  ,       .

D  "Content-Transfer-Encoding:"    -
,       : "base64",
"quoted-printable", "7bit", "8bit", "binary"  .

  : "7bit", "8bit", "binary"   , 
    .    -
,      . "7bit"  
  ASCII-, "8bit"  "binary"    , 