You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
See Python docs - mailcap module is deprecated
Describe the solution you'd like
Writing a custom mailcap file loader that doesn't rely on the standard library is a good solution. Additionally, I think a non-standard extension of loading mailcap from alot config dir or $XDG_CONFIG_DIR/mailcap would be a good idea.
Describe alternatives you've considered
Ditching mailcap files completely, opting for a mix of custom config (e.g. for html viewing) and mime associations (for opening files) and breaking backwards compatibility
Telling users to stay at Python 3.12 till the end of time
The text was updated successfully, but these errors were encountered:
Unfortunately it seems you are right :D
Writing a custom viewer sounds like the least attractive option to me. We could just ship a copy of the latest mailcap module or indeed, use a local mapping instead of mailcaps. In the end this mainly requires a handler for html messages and a call to xdg-open for opening attachments..
Is your feature request related to a problem? Please describe.
See Python docs - mailcap module is deprecated
Describe the solution you'd like
Writing a custom mailcap file loader that doesn't rely on the standard library is a good solution. Additionally, I think a non-standard extension of loading mailcap from alot config dir or
$XDG_CONFIG_DIR/mailcap
would be a good idea.Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: