Changes between Initial Version and Version 1 of Ticket #12710
- Timestamp:
- Mar 16, 2016, 9:58:54 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12710 – Description
initial v1 1 1 KNOWN_MIME_TYPES and message are not defined: 2 2 3 {{{#!diff 3 4 size = len(payload) 4 5 - filename = msg.get_filename() or message.get('Subject') … … 6 7 filename = 'attachment-%d' % ctr 7 8 - extensions = KNOWN_MIME_TYPES.get(message.get_content_type()) 9 }}} 8 10 9 11 Am working around by setting filenames attachment-1 etc. from the calling code which is what older mail2trac did.