uchicago-library / attachment-converter

Attachment Converter: tool for batch converting attachments in an email mailbox
GNU General Public License v2.0
8 stars 3 forks source link

109 revamp mime type representation #112

Closed nmmull closed 1 month ago

nmmull commented 1 month ago

This is slightly lower priority, but I thought it would be worthwhile to rewrite the config code so that it used mrmimes representation and parser. We discussed a bit the potential downsides of this (e.g., if mrmime stops being supported) but it simplifies our code a fair amount, handles some issues with our naive parsings method, makes our code more robust, and would not be difficult to port directly into the project should mrmime go bust.