Handle (old style) MS-Word attachments
This commit is contained in:
parent
08784b70fe
commit
f543dbc5c8
1
mbox2web
1
mbox2web
|
@ -62,6 +62,7 @@ def save_part(msg, disposition):
|
||||||
"image/gif": ".gif",
|
"image/gif": ".gif",
|
||||||
"text/x-c": ".c",
|
"text/x-c": ".c",
|
||||||
"application/x-perl": ".pl",
|
"application/x-perl": ".pl",
|
||||||
|
"application/msword": ".doc",
|
||||||
}[content_type]
|
}[content_type]
|
||||||
|
|
||||||
name = msg.get_param("name") or "(data)"
|
name = msg.get_param("name") or "(data)"
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
<div class="partouter">
|
||||||
|
<div class="partheader">
|
||||||
|
application/msword
|
||||||
|
</div>
|
||||||
|
<div class="partinner">
|
||||||
|
<a href="{{url}}">{{name}}</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in New Issue