Using the current mailman version, I can reproduce the following:
- send a text-formatted email with attachment but without text body to a list.
- the msg will be received by mailman
- the msg shows up in shunt, the log shows:
ile "/usr/lib/python3.12/email/message.py", line 343, in set_payload
    payload = payload.encode(charset.output_charset, 'surrogateescape')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode characters in position 10-17: 
ordinal not in range(128)

an attempt to unpickle the file leads to the same error.
I know it's uncommon to send emails without txt but with attachments - but it 
may happen; at least we would welcome an error message.
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/EVL5SUQGAILHWZWBKHD5VLN4OZV4ITIV/

This message sent to arch...@mail-archive.com

Reply via email to