[imp] another IMP CVS HEAD bug in MIME handling
Eric Rostetter
eric.rostetter@physics.utexas.edu
Mon, 1 Jul 2002 14:50:20 -0500
CVS HEAD of IMP as of this morning.
Sending a mail without an attachment works fine. :)
Adding an attachment makes the whole message somehow become marked with
a content-type of application/octet-stream. Below is the source of a
text message sent with a text attachment (between --- lines):
---
From: Eric Rostetter <eric.rostetter@physics.utexas.edu>
To: ericr@physics.utexas.edu
Subject: test
MIME-Version: 1.0
Content-Type: application/octet-stream; boundary="=_16310ddf188255f044e2a5a4";
name="default.txt";
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: <*censored*>
This message is in MIME format.
--=_16310ddf188255f044e2a5a4
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
this is a test
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
"TAD (Technology Attachment Disorder) is an unshakable, impractical devotion
to a brand, platform, product line, or programming language. It's relatively
harmless among the rank and file, but when management is afflicted the damage
can be measured in dollars. It's also contagious -- someone with sufficient
political clout can infect an entire organization."
--"Enterprise Strategies" columnist Tom Yager.
--=_16310ddf188255f044e2a5a4
Content-Type: text/plain; name="test.txt"
Content-Disposition: attachment; filename="test.txt"
Content-Transfer-Encoding: base64
VGhpcyBpcyBhIHRlc3QK
--=_16310ddf188255f044e2a5a4--
---
So by sending only text parts I receive a binary message... Strange.
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
"TAD (Technology Attachment Disorder) is an unshakable, impractical devotion
to a brand, platform, product line, or programming language. It's relatively
harmless among the rank and file, but when management is afflicted the damage
can be measured in dollars. It's also contagious -- someone with sufficient
political clout can infect an entire organization."
--"Enterprise Strategies" columnist Tom Yager.