Handle ms-tnef attachments
Like other attachments, just create a download link, don't try to parse them.
This commit is contained in:
parent
865579655f
commit
2a3e5622f3
1
mbox2web
1
mbox2web
|
@ -63,6 +63,7 @@ def save_part(msg, disposition):
|
|||
"text/x-c": ".c",
|
||||
"application/x-perl": ".pl",
|
||||
"application/msword": ".doc",
|
||||
"application/ms-tnef": ".ms-tnef",
|
||||
}[content_type]
|
||||
|
||||
name = msg.get_param("name") or "(data)"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<div class="partouter">
|
||||
<div class="partheader">
|
||||
application/ms-tnef
|
||||
</div>
|
||||
<div class="partinner">
|
||||
<a href="{{url}}">{{name}}</a>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue