Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[TB] customDBHeaders / Content-Type

7 views
Skip to first unread message

bennisp

unread,
Nov 4, 2009, 10:32:51 AM11/4/09
to
Hi,

I'm trying to read out the MIME content-type via getStringProperty()
according to
https://developer.mozilla.org/en/Extensions/Thunderbird/Creating_a_Custom_Column,
but it won't work (I've added "content-type" to the
mailnews.customDBHeaders preference before and rebuilt the .msf's).

After inspecting TB's sources, it seems to me TB already reads out
content-type on its own anyway, even without an customDBHeaders entry,
for some parsing purposes (e.g. whether an attachment or S/MIME stuff is
included, by looking for a multipart entry in the content-type field).
It ignores the customDBHeader preference subsequently, so the
content-type field won't be stored in the .msf.

Is there any possibility at all to get access to it?

Thx!
Ben

0 new messages