On 01/09/2012 03:14 PM, Ed Greshko wrote:
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
"man base64" should get you going. It's a little easier than the perl stuff.
John
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org