ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzair_5.4.0.1/rzairpopmimecontent.htm

96 lines
5.7 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="MIME content types" />
<meta name="abstract" content="Standard Internet text notes consist of a general header and a text body. MIME notes, however, can contain multiple parts, which allows multimedia attachments to be included with the text." />
<meta name="description" content="Standard Internet text notes consist of a general header and a text body. MIME notes, however, can contain multiple parts, which allows multimedia attachments to be included with the text." />
<meta name="DC.Relation" scheme="URI" content="rzairoverview.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzairpopmimecontent" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>MIME content types</title>
</head>
<body id="rzairpopmimecontent"><a name="rzairpopmimecontent"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">MIME content types</h1>
<div><p>Standard Internet text notes consist of a general header and a
text body. MIME notes, however, can contain multiple parts, which allows multimedia
attachments to be included with the text.</p>
<div class="section"><p>If the general header contains a content type of <samp class="codeph">Multipart/Mixed</samp>,
one or more attachments follow. There are beginning and ending boundaries
for each attachment. The boundary identifier is set on the <var class="varname">boundary=</var> parameter
that follows the "Content-Type" header tag. See <a href="#rzairpopmimecontent__FIGMIME1">Figure 1</a> for
an example of a multipart MIME note. In this example, each part has a content
type, and each text content type can optionally have a character set (charset)
defined.</p>
<div class="fignone" id="rzairpopmimecontent__FIGMIME1"><a name="rzairpopmimecontent__FIGMIME1"><!-- --></a><span class="figcap">Figure 1. Example of a Multipart MIME Note</span><pre> From
@SYSNAM6.CITY.COMPANY.COM:popct08@SYSNAM6.city.company.com Wed
Jan 10
11:33:18 1996 Return-Path:
&lt;@SYSNAM6.CITY.COMPANY.COM:popct08@SYSNAM6.city.company.com&gt; Received: from
SYSNAM6.city.company.com by
fakeps2.city.company.com (COMPANY
OS/2 SENDMAIL VERSION 1.3.2)/1.0) id AA0329; Wed, 10
Jan 96 11:33:18 -0500 Date: Wed, 10
Jan 96
11:33:18 -0500 Message-Id: &lt;9601101633.AA0329@fakeps2.city.company.com&gt; Received:
from endmail9 by SYSNAM6.CITY.COMPANY. (IBM i5/OS SMTP V03R02M00) with TCP;
Wed, 10
Jan 1996 10:23:42
+0000. X-Sender: popct08@SYSNAM6.city.ibm.com (Unverified) X-Mailer: Windows
Eudora Pro
Version 2.1.2
Mime-Version:1.0Content-Type:multipart/mixed;boundary="=====================_821301929==
_"
To: fake@fakeps2.city.company.com From:
endmail9 &lt;popct08@SYSNAM6.city.company.com&gt; Subject:
eudora attachments
X-Attachments:C:\EUDORA\ARGYLE.BMP;--=====================_821301929==_
Content-Type: text/plain; charset=
"us-ascii" An example of using Eudora to send a text
andbitmap.--=====================_821301929==_
<span class="uicontrol">Content-Type: application/octet-stream; name="ARGYLE.BMP";</span>
x-mac-type="424D5070"; x-mac-creator="4A565752"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=
"ARGYLE.BMP"
Qk12AgAAAAAAAHYAAAAoAAAAIAAAACAAAAABAAQAAAAAAAACAAAAAAAAAAAAAAAAAAAQAAAAAAAA
AAAAgAAAgAAAAICAAIAAAACAAIAAgIAAAICAgADAwMAAAAD/AAD/AAAA//8A/wAAAP8A/wD//wAA
////AE1EREREREREZERERERERE1E1ERERERERsZERERERETURE1ERERERGxsZERERERNRERE1ERE
REbGxsZERERE1ERERE1ERERsbGxsZERETURERERE1ERGxsbGxsZERNRERERERE1EbGxsbGxsZE1E
RERERERE1sbGxsbGxsbURERERERERG1sbGxsbGxtZEREREREREbG1sbGxsbG1sZERERERERsbG1s
bGxsbWxsZERERERGxsbG1sbGxtbGxsZEREREbGxsbG1sbG1sbGxsZERERsbGxsbG1sbWxsbGxsZE
RGxsbGxsbG1tbGxsbGxsZEbGxsbGxsbG1sbGxsbGxsZEbGxsbGxsbW1sbGxsbGxkREbGxsbGxtbG
1sbGxsbGREREbGxsbG1sbG1sbGxsZEREREbGxsbWxsbG1sbGxkREREREbGxtbGxsbG1sbGRERERE
REbG1sbGxsbG1sZEREREREREbWxsbGxsbG1kRERERERERNbGxsbGxsbG1ERERERERE1EbGxsbGxs
ZE1ERERERETUREbGxsbGxkRE1ERERERNREREbGxsbGRERE1ERERE1EREREbGxsZERERE1ERETURE
REREbGxkRERERE1ERNREREREREbGRERERERE1E1EREREREREZERERERERE3URERERERERERERERERERE--=====================_821301929==_--</pre>
</div>
<p>See Set up headers to differentiate between recipients,
for information about how to change the MIME headers.</p>
</div>
</div>
<div><div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzairoverview.htm" title="You depend on electronic mail (e-mail) as an essential business tool. The iSeries server uses protocols, like Simple Message Transfer Protocol (SMTP) and Post Office Protocol (POP), to make your e-mail run smoothly and efficiently on the network.">E-mail concepts</a></div>
</div>
</div>
</body>
</html>