MIME stuff pertaining to yesterday's mail
kline at tao.thought.org
Sun Aug 21 23:10:09 GMT 2005
Well, I was right on one thing. In order to mail a file
that both mutt/elm/mail and a GUI/HTML reader can grok,
you *do* see to ^Content-type: headers. The first for the
plaintext reader, the second for the HTML reader.
Among the mail header must be a long string such as:
Content-Type: multipart/alternative; boundary="=-A1X2"
and following the line count (^Lines: 35) is this test
evolution is smart enough to center where I indicated the
center icon. Immediately below this is the boundary "END"
string. Followed by the std HTML that I've been hand coding
since '93. Followed by the boundary EOF (of sorts).
Content-Type: text/html; charset=utf-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<TITLE> test </TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<P ALIGN=center><FONT SIZE="4"><B>test</B></FONT><BR>
If there is an easier way to do this with my N hundred blurbs,
could somebody clue me in? This will only take a script of
some kind and is probably too specialized to turn into a
port, but I'll share this with anybody who wants it.
Gary Kline kline at thought.org www.thought.org Public service Unix
More information about the freebsd-questions