The content is sent in plain text and in HTML and the mail program will choose HTML if it can read it.
The following is a complete email with a graphic included. Notice the header, the separators, etc. First blank line indicates end of header.
Try this: Open notepad and copy and paste this text. Now change the extension to EML and it will be opened by OE. You can also drag it from the desktop into you OE folders.
Now change the extension of the copy on the desktop to MHT and see what happens. Interesting stuff and useful once you know how to handle email files.
From: Joe Blowe <poblo@earthlink.gov>
To: asf@asf.gov
Subject: test
Date: Fri, 27 Oct 2000 20:48:32 -0400
MIME-Version: 1.0
Content-Type: multipart/related;
type=“multipart/alternative”;
boundary="----=_NextPart_000_003C_01C04057.44F03820"
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
This is a multi-part message in MIME format.
------=_NextPart_000_003C_01C04057.44F03820
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_003D_01C04057.44F03820"
------=_NextPart_001_003D_01C04057.44F03820
Content-Type: text/plain;
charset=“iso-8859-1”
Content-Transfer-Encoding: quoted-printable
This is a test =20
------=_NextPart_001_003D_01C04057.44F03820
Content-Type: text/html;
charset=“iso-8859-1”
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2722.2800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV> </DIV>
<DIV><FONT face=3DArial><STRONG>This is a test =
</STRONG></FONT><IMG=20
align=3Dbaseline alt=3D"" border=3D0 hspace=3D0=20
src=3D"cid:003b01c04078$cbfa3700$faeb1e26@alf"></DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_001_003D_01C04057.44F03820–
------=_NextPart_000_003C_01C04057.44F03820
Content-Type: image/gif;
name=“smile.gif”
Content-Transfer-Encoding: base64
Content-ID: <003b01c04078$cbfa3700$faeb1e26@alf>
R0lGODdhD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