On 01/10/2012 06:06 AM, g wrote:
greetings,
now that fedora project has started sending emails as;
}} Content-Type: text/plain; charset="utf-8"
}} Content-Transfer-Encoding: base64
is there a way to convert emails back to text so that local searching of
emails can be done?
searching on "Subject:" seldom provides a means to find what a post is
actually about.
You may have to do some splitting of the message to separate the encoded
parts... But the encoded parts can always be un-encoded using something
like the perl MIME::Base64 module. That module is not part of the
distro, but could be gotten from CPAN.
I've not looked at what they do since I've not had a need, but you can
also investigate these that do come with as part of the distro.
perl-Email-MIME
perl-Email-MIME-Attachment-Stripper
perl-Email-MIME-ContentType
perl-Email-MIME-Encodings
--
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in "Mostly Harmless