ietf-822
[Top] [All Lists]

Using the HTML format for e-mail messages and Usenet News articles

1995-05-16 00:51:55
Here is a revised version of how we are planning to allow
e-mail messages and Usenet News articles in the HTML format.

Do not send answers only to the html-wg mailing list, since
I will then not see them.

--- cut here ---
MAIL FROM:<jpalme(_at_)DSV(_dot_)SU(_dot_)SE>
RCPT TO:<jptest(_at_)DSV(_dot_)SU(_dot_)SE>
DATA
Date: Sat, 22 Apr 1995 06:18:00 +0200 (MET DST)
From: Jacob Palme <jpalme(_at_)dsv(_dot_)su(_dot_)se>
To: jptest(_at_)dsv(_dot_)su(_dot_)se
Message-Id: <jpalme*4711(_at_)su-kom(_dot_)dsv(_dot_)su(_dot_)se>
X-mailer: KOM-95V0.1
Mime-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="Boundary 1"
; Note: We will of course use better Boundary strings than this
Subject: Demo of a MIME MULTIPART/ALTERNATIVE message

  This message is in MIME format. It contains the same text in two
  formats. The first part is in plain text format. The second part
  is the same text in the World Wide Web (HTML) format.

--Boundary 1
Content-Type: MULTIPART/ALTERNATIVE; BOUNDARY="Boundary 2"
Content-ID: <jpalme*4711-1(_at_)su-kom(_dot_)dsv(_dot_)su(_dot_)se>

--Boundary 2
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Id: <jpalme*4711-2(_at_)su-kom(_dot_)dsv(_dot_)su(_dot_)se>

                         Centered header
                         ---------------

               +---------------------------------+
               | Picture of circle inside square |
               +---------------------------------+

This is a message, which will be sent first as plain text, and then in the
HTML format, using the MIME MULTIPART/ALTERNATIVE method of sending the
same text in the same message in two different ways.

------------------------------------------------------------------------
Jacob Palme                      E-mail: jpalme(_at_)dsv(_dot_)su(_dot_)se
Department of Computer and       Phone: +46-8-16 16 67
Systems Sciences (DSV)           Fax: +46-8-703 90 25
Stockholm University             Postal address: Skeppargatan 73,
Royal Institute of technology    S-11530 Stockholm, Sweden

--Boundary 2
Content-Type: TEXT/HTML; Version=3.0; Charset=iso-8859-1; X-w4g-subset=1
; X-w4g-subset is a local extension to indicate the subset of
; HTML we will use. This will help our receiving client to decide
; whether to use the internal HTML viewer or call an external more
; general-purpose such viewer
Content-Transfer-Encoding: 7BIT
Content-Id: <jpalme*4711-3(_at_)su-kom(_dot_)dsv(_dot_)su(_dot_)se>

<html>
<title>Demo of a MIME MULTIPART/ALTERNATIVE message</title>
<head></head>
<body>
<a name="para-1">
<h1>Large font header</h1>
<IMG SRC="CID:jpalme*4711-4@su-kom.dsv.su.se" align=center
alt="Picture of circle inside square"><br>
<a name="para-2">
<strong>This is the caption of the picture</strong><p>
<a name="para-3">
This is a message, which will be sent first as plain
text, and then in the HTML format, using the MIME
MULTIPART/ALTERNATIVE method of sending the same text in the
same message in two different ways.
<a name="para-4">
<hr><pre>
Jacob Palme                   <strong>E-mail:</strong> 
jpalme(_at_)dsv(_dot_)su(_dot_)se
Department of Computer and    <strong>Phone:</strong> +46-8-16 16 67
Systems Sciences (DSV)        <strong>Fax:</strong> +46-8-703 90 25
Stockholm University          <strong>Postal address:</strong> Skeppargatan 73,
Royal Institute of technology S-11530 Stockholm, Sweden
</pre>
</body></html>
--Boundary 2--
--Boundary 1
Content-Type: IMAGE/GIF
Content-Disposition: ????????????
Content-Transfer-Encoding: BASE64
Content-Id: <jpalme*4711-4(_at_)su-kom(_dot_)dsv(_dot_)su(_dot_)se>
Content-Description: Picture of circle inside square

R0lGODlhgALgAfAAAP///wAAACwAAAAAgALgAQAC/4SPqcvtD6OctNqLs968
+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCqXzKbzCY1Kp9Sq
9YrNarfcrvcLDovH5LL5jE6r1+y2+w2Py+f0uv2Oz+v3/L7/DxgoOEhYaHiI
mKi4yNjo+AgZKTlJWWl5iZmpuXkT4PkJGio6SlpqCsqZquoX0NO6ChtL97pD
K3uLm2abs5vr++vV2wlMXKwlbINsvMycpEzz3Cw97RMtY02drT2DDdO9DR6O
8u1CLn6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nnllpRfjnnmmm/Oeeeefw566KKPTnrppp+Oeuqq
r856666/Dnvsss9Oe+2234577rrvznvvvv8OfPDCD0988cYfj3zyyi/PfPPO
Pw999NJPT3311l+Pffbab899995/D3744o9Pfvnmn49++uqvz3777r8Pf/zy
z09//fbfj3/++u/Pf//+/w/AAApwgAQsoAEPiEDDEAAFADs=
--Boundary 1--

------------------------------------------------------------------------
Jacob Palme <jpalme(_at_)dsv(_dot_)su(_dot_)se> (Stockholm University and KTH)
for more info see URL: http://www.dsv.su.se/~jpalme


<Prev in Thread] Current Thread [Next in Thread>
  • Using the HTML format for e-mail messages and Usenet News articles, Jacob Palme <=