Re: [Evolution] Wishlist: override content-transfer-encoding
- From: Not Zed <notzed ximian com>
- To: Enrique Perez-Terron <enrio online no>
- Cc: dsf <evolution lists ximian com>
- Subject: Re: [Evolution] Wishlist: override content-transfer-encoding
- Date: Thu, 04 Nov 2004 09:12:57 +0800
Think again. Adding mime structure, Evo took into consideration the
transfer-encoding header that was previously in the body, now in the
headers section of a mime part.
Your changes are wrong anyway, you've converted an rfc822 message part into a text/plain part inside a multipart/mixed.
You've converted:
message/rfc822
text/plain ('incorrectly' - since its actually a message)
Into:
message/rfc822
multipart/mixed
text/plain encoding=qp (again incorrectly, since its actually a message)
Which isn't correct either.
Either:
1. what you have received originally is actually correct and intended - although the content may be viewed as a message, it is also legal text/plain content.
2. the original mailer should have attached it as a message/rfc822 part instead.
i.e.
message/rfc822
message/rfc822
text/plain encoding=qp
is probably the correct, intended structure.
or maybe
3. some broken list or spam/virus checker is wrecking the mail, although i find this highly unlikely given the structure of the message.
To be able to manipulate a message at such a level is 'messy at best', and not really practical. Overriding the charset is one thing, since it applies to all parts, overriding content-types on specific parts is not likely to be easy to implement.
It's my fault in a way, because the diff had too little context:
diff -U 8 /tmp/saved-mail.orig /tmp/saved-mail
--- /tmp/saved-mail.orig 2004-11-03 20:12:11.000000000 +0100
+++ /tmp/saved-mail 2004-11-03 20:00:09.615993628 +0100
@@ -29,18 +29,20 @@
List-Id: EFNs fritt tilgjengelige postliste <efn-listen.ifi.uio.no>
X-MailScanner-Information: This message has been scanned for viruses/spam.
Contact postmaster uio no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=0.295, required 12,
DRUGS_MUSCLE 0.01, NO_REAL_NAME 0.28)
X-Evolution-Source: pop://enrio pop online no
Mime-Version: 1.0
+Content-Type: multipart/mixed; boundary="=-p4ZKeD6jFQt+DoMSozvJ"
Content-Transfer-Encoding: 8bit
+--=-p4ZKeD6jFQt+DoMSozvJ
From: xyz xyz xy (Robert Sund) <-----------Originally body started here
Date: Tue, 2 Nov 2004 17:54:28 +0200
Message-ID: <1gml6c0 apiuti7uo11dM%xyz xyz xy>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable <-------This line now becomes a header
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ affecting the 'part' body below
User-Agent: MacSOUP/2.6.1 (Mac OS X version 10.3.5)
@@ -328,8 +330,9 @@
Ett godt utbygd "bredb=E5ndnett" for ="" =E5pne for en st=F8rre bredde av
samarbeidsformer, som eksempelvis videokonferanse.
--=20
Robert Sund
+--=-p4ZKeD6jFQt+DoMSozvJ--
> You had to change
> the mime structure altogether
A way to add mime structure was one of my proposals.
Cheers,
Enrique
_______________________________________________
evolution maillist - evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]