On 1/27/25 12:35, Schulz via Mailman-users wrote:
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)

Please provide the full traceback and the MIME structure of the message.

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.

Without more of the traceback I can't be sure which handler is doing this and without the MIME structure I can't be sure what's going on.

--
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
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/KR444M3RUQ7TZZVUT5KP7LCRO3TBHSDA/

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

Reply via email to