LukeSmithxyz / mutt-wizard

A system for automatically configuring mutt and isync with a simple interface and safe passwords
GNU General Public License v3.0
2.39k stars 382 forks source link

Forwarding files with text MIME puts them in the message body or looses them completely #949

Open gerazov opened 1 year ago

gerazov commented 1 year ago

This is related to #931 which changed:

set mime_forward = yes      # attachments are forwarded with mail

to

set mime_forward = no   # mail body is forwarded as text
set forward_attachments = yes   # attachments are forwarded with mail

I've just noticed that text MIME attachments now get included in the message body, specifically:

   A     2 add_text.py                                  [text/x-python, base64, utf-8, 1.3K]
   A     4 upatstvo.txt                                   [text/plain, base64, utf-8, 5.1K]

Moreover, the contents of the txt file gets included and the py code doesn't.

It might be better to roll back to the old behavior? :thinking: