Changes between Initial Version and Version 1 of Ticket #12710


Ignore:
Timestamp:
Mar 16, 2016, 9:58:54 PM (8 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12710 – Description

    initial v1  
    11KNOWN_MIME_TYPES and message are not defined:
    22
     3{{{#!diff
    34         size = len(payload)
    45-        filename = msg.get_filename() or message.get('Subject')
     
    67             filename = 'attachment-%d' % ctr
    78-            extensions = KNOWN_MIME_TYPES.get(message.get_content_type())
     9}}}
    810
    911Am working around by setting filenames attachment-1 etc. from the calling code which is what older mail2trac did.