Home
Tutorial MIME/ESMTP
Contents
1. lt nl gt lt nl gt Isn t it lt bigger gt lt bigger gt cool lt bigger gt lt bigger gt unique boundary 1 Content Type message rfc822 From mailbox in US ASCII To address in US ASCII Subject subject in US ASCII Content Type Text plain charset ISO 8859 1 Content Transfer Encoding Quoted printable Additional text in ISO 8859 1 goes here unique boundary 1 2 6 Conditions a remplir par un MUA MIME 2 6 1 Reconnaitre et afficher du texte US ASCII 2 6 2 Reconnaitre les autres jeux de caract res 2 6 3 Reconnaitre et afficher les carat res ISO 8859 commun a ceux pr sent dans US ASCII 2 6 4 Offrir de sauver les contenus non reconnus dans un fichier pour traitement ult rieur 2 6 5 Reconnaitre et afficher les contenus de type Message rfc822 2 6 6 Reconnaitre le type Multipart mixed 2 6 7 Reconnaitre le type Multipart alternative 2 6 8 Traiter les Multipart non reconnus comme Multipart mixed 2 6 9 Decoder les contenus de Application si l encodage quoted printable ou base64 est utilis puis offrir de sauver le r sultat dans un fichier 2 7 Exemples de MUA MIME 2 7 1 2 7 2 Domaine public 2 7 1 1 2 7 1 2 2 7 1 3 2 7 1 4 2 7 1 5 2 7 1 6 2 7 1 7 2 7 1 8 eml pine mh xmh mixmh exmh meuf ml Payant 2 7 2 1 Z mail 3 Comment transferer des caract res 8 bits 3 1 ESMTP extension de SMTP RFC 1651 Le client util
2. MIME Version 1 0 From Nathaniel Borenstein lt nsb bellcore com gt To Ned Freed lt ned innosoft com gt Subject A multipart example Content Type multipart mixed boundary unique boundary 1 This is the preamble area of a multipart message Mail readers that understand multipart format should ignore this preamble If you are reading this text you might want to consider changing to a mail reader that understands how to properly display multipart messages unique boundary 1 Some text appears here Note that the preceding blank line means no header fields were given and this is text with charset US ASCII It could have been done with explicit typing as in the next part unique boundary 1 Content type text plain charset US ASCII This could have been part of the previous part but illustrates explicit versus implicit typing of body parts unique boundary 1 Content Type multipart parallel boundary unique boundary 2 unique boundary 2 Content Type audio basic Content Transfer Encoding base64 base64 encoded 8000 Hz single channel mu law format audio data goes here unique boundary 2 Content Type image gif Content Transfer Encoding base64 base64 encoded image data goes here unique boundary 2 unique boundary 1 Content type text richtext This is lt bold gt lt italic gt richtext lt italic gt lt bold gt lt smaller gt as defined in RFC 1341 lt smaller gt
3. 2 3 3 Base 64 Restrient le jeu de caract re un alphabet 6 bits 24 bits explos s en 4 caract res US ASCII perte 30 fixe Avantages sur uuencode N utilise pas hyphen Pas d interf rence connue a ce jour avec un MTA Pas de conflits avec EBCDIC 2 3 4 8Bits Le message reste constitu de lignes termin es par CR LF Les lignes sont compos es de caracteres 8 bits NB Il faut pr ciser l alphabet utilis 2 3 5 Binary Le message est du binaire pur il n y a plus de notion de lignes Probl me comment reconnaitre la fin du message 2 4 Content types 2 4 1 2 4 2 2 4 3 La structuration des messages se fait avec des en t tes suppl mentaires d crivant le contenu du message Ces contenus sont standardis s en 7 types Chaque type de contenus est qualifi par un sous type Des param tres peuvent tre pr sent Multipart Permet d inclure plusieurs parties dans un message 2 4 1 1 Multipart mixed 2 4 1 2 Multipart parallel 2 4 1 3 Multipart digest 2 4 1 4 Multipart alternative Message Le contenu est lui m me un message 2 4 2 1 Message rfc822 2 4 2 2 Message partial 2 4 2 3 Message external body Text 2 4 3 1 Text plain 2 4 3 2 Text richtext 2 4 4 2 4 5 2 4 6 2 4 7 Image 2 4 4 1 Image gif 2 4 4 2 Image jpeg Audio 2 4 5 1 Audio basic Video 2 4 6 1 Video mpeg Application 2 4 7 1 Application octet stream 2 4 7 2 Application postscript 2 5 Exemple de message
4. IME content types are present in the messages 08 26 1993 Pages 7 Format txt Updates RFC1328 I N Borenstein M Linimon The Extension of MIME Content Types to a New Medium 04 01 1993 Pages 6 Format txt I G Vaudreuil Transition of Internet Mail from Just Send 8 to 8Bit SMTP MIME 02 10 1993 Pages 6 Format txt PS K Moore N Freed J Klensin SMTP Service Extension for Message Size Declaration 02 10 1993 Pages 8 Format txt Obsoleted by RFC1653 I N Borenstein Implications of MIME for Internet Mail Gateways 06 11 1992 Pages 9 Format txt ps I N Borenstein A User Agent Configuration Mechanism For Multimedia Mail Format Information 06 11 1992 Pages 10 Format txt ps S R Braden Requirements for Internet hosts application and support 10 01 1989 Pages 98 Format txt STD 3 S D Crocker Standard for the format of ARPA Internet text messages 08 13 1982 Pages 47 Format txt Obsoletes RFC0733 STD 11 Updated by RFC1327 RFC0987 S J Postel Simple Mail Transfer Protocol 08 01 1982 Pages 58 Format txt Obsoletes RFC0788 STD 10
5. Tutorial MIME ESMTP 1 Messagerie Internet 1 1 G n ralit s 1 1 1 Le concept de messagerie Tranfert non sollicit de fichier Communication asynchrone 1 1 2 Le mod le MTA UA MS 1 1 3 Les protocoles Messagerie Internet Couche application TCP IP Protocole SMTP RFCs 821 822 1123 R vision en cours l IETF working group drums 1 1 4 D ploiement dans l Internet Utilisation du DNS champs MX 1 2 Le protocole SMTP RFC821 1 2 1 caract ristiques Protocole texte 7 bits NVT ASCII Ligne ligne CR LF 1 2 2 Exemple de dialogue SMTP 220 mailhost mondomaine fr Sendmail 8 6 12 8 6 12 ready at Mon 30 Oct 1995 15 38 46 0100 220 ESMTP spoken here HELO client autredomaine fr 250 mailhost mondomaine fr Hello client autredomaine fr 193 55 0 1 pleased to meet you VRFY lt postmaster gt 250 lt postmaster mailhost mondomaine fr gt EXPN lt postmaster gt 250 lt userl mailhost mondomaine fr gt 250 lt user2 mailhost mondomaine fr gt MAIL FROM lt alain durand autredomaine fr gt 250 alain durand autredomaine fr Sender ok RCPT TO lt jean dupont mondomaine fr gt 250 jean dupont mondomaineinria fr Recipient ok DATA 354 Enter mail end with on a line by itself from lt alain durand autredomaine fr gt to lt jean dupont mondomaine fr gt subject test sdfsdfs blah blah 250 PAA02281 Message accepted for delivery QUIT 221 mailhost mondomaine fr closing connect
6. ion 1 3 Le message RFC822 1 3 1 Structure En t te Ligne blanche Corps du message 1 3 2 En t tes FROM TO CC REPLY TO ERROR TO DATE RECEIVED MESSAGE ID 1 3 3 Corps Suite de lignes termin es par RC LF Pas de structure propre 1 4 Bilan 1 4 1 1 4 2 1 4 3 1 4 4 1 4 5 Tr s large utilisation Limitations 7 bits Texte ascii non structur Pour aller au del Encodage de corps 8 bits vers 7 bits Envoie d un mode d emploi s par Evolution non standardis es uuencode binhex sun attachements Evolution standardis e MIME Multipurpose Internet Mail Extension RFC1521 2 MIME RFC 1521 2 1 Buts Standardiser les m thodes de transfer de donn es 8 bits Structurer le corps des messages en contenus body parts Standardiser les diff rents contenus possibles 2 2 En t te Mime Un en t te est rajout a ceux d finis dans le RFC 822 pour pr ciser que ce qui suit est un message au format MIME Mime version 1 0 Seule la version 1 0 est d finie a ce jour 2 3 Transfer de donn es 8 bits D finition de 5 formes de transfers 2 3 1 Texte 7 bits US ASCII standard SMTP 2 3 2 Quoted Printable Remplacer tout ce qui n est pas US ASCII par une s quence d chapement XY o XY est le code ASCII hexad cimmal du caract re Perte environ 20 selon la nature des donn es NB Il faut pr ciser l alphabet utilis Un codage sp cial est pr vu pour encoder les fins de lignes
7. ise le mot clef HELO a la place de EHLO Si le serveur est OK il repond la liste des services supportes 250 mailhost mondomaine fr Hello client autredomaine fr 193 55 0 1 pleased to meet you 250 EXPN 250 SIZE 250 8BITMIME 250 HELP 3 2 Extension ESMTP 8BIT MIME RFC 1652 Si l option 8BITMIME est support e par le serveur le client peut l utiliser dans le champs RCPT TO pour indiquer que la suite est du 8 bits Le message transmis doit avoir des en t tes MIME valides Exemple RCPT TO lt jean dupont mondomaine fr gt BODY 8BITMIME 250 lt jean dupont mondomaine fr gt Sender and 8BITMIME ok 4 RFCs 1864 1844 1830 1767 1741 1740 1653 1652 1651 1641 1590 1563 1556 1522 DS J Myers M Rose The Content MD5 Header Field 10 24 1995 Pages 4 Format txt Obsoletes RFC1544 I E Huizer Multimedia E mail MIME User Agent checklist 08 24 1995 Pages 8 Format txt Obsoletes RFC1820 E G Vaudreuil SMTP Service Extensions for Transmission of Large and Binary MIME Messages 08 16 1995 Pages 8 Format txt PS D Crocker MIME Encapsulation of EDI Objects 03 02 1995 Pages 7 Format txt I P Faltstrom D Crocker E Fair MIME Content Type for BinHex Encoded Files 12 22 1994 Pages 6 Format txt PS P Faltstrom D Crocker E Fair MIME Encapsulation of Macintosh files MacMIME 12 22 1994 Pages 16 Format txt DS J Klensin N F
8. reed K Moore SMTP Service Extension for Message Size Declaration 07 18 1994 Pages 8 Format txt Obsoletes RFC1427 DS J Klensin N Freed M Rose E Stefferud D Crocker SMTP Service Extension for 8bit MIMEtransport 07 18 1994 Pages 6 Format txt Obsoletes RFC1426 DS J Klensin N Freed M Rose E Stefferud D Crocker SMTP Service Extensions 07 18 1994 Pages 11 Format txt Obsoletes RFC1425 E D Goldsmith M Davis Using Unicode with MIME 07 13 1994 Pages 6 Format txt ps I J Postel Media Type Registration Procedure 03 02 1994 Pages 7 Format txt Updates RFC1521 I N Borenstein The text enriched MIME Content type 01 10 1994 Pages 16 Format txt ps Obsoletes RFC1523 I H Nussbacher Handling of Bi directional Texts in MIME 12 23 1993 Pages 3 Format txt DS K Moore MIME Multipurpose Internet Mail Extensions Part Two Message Header Extensions for Non ASCII Text 09 23 1993 Pages 10 Format txt Obsoletes RFC1342 1521 1496 1437 1428 1427 1344 1343 1123 0822 0821 DS N Borenstein N Freed MIME Multipurpose Internet Mail Extensions Part One Mechanisms for Specifying and Describing the Format of Internet Message Bodies 09 23 1993 Pages 81 Format txt ps Obsoletes RFC1341 Updated by RFC1590 PS H Alvestrand J Romaguera K Jordan Rules for downgrading messages from X 400 88 to X 400 84 when M
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 Philips SJB5191 NiMH 3.6V 800mAh Cordless phone battery ECS G41T-M2 motherboard SERVICE MANUAL - SaferProducts.gov Bedienungsanleitung Deutsch . . . . . . . . . . . . . . . . A Trust 31007 headset Guía de Uso - Biblioteca 3300-181 Copyright © All rights reserved.
Failed to retrieve file