improvement: attachment feature

This commit is contained in:
2025-06-17 10:59:39 +02:00
parent c39c45a23a
commit 871a000cbd
3 changed files with 26 additions and 25 deletions

View File

@@ -14,7 +14,6 @@ function cont_reading(str) {
function att_info(i, str, cnt, k, info) {
str = substr(str, 1, index(str, ":") - 1)
cnt = split(str, props)
info = "Attachment "i":"
if (cnt > 1) {
for (k=2; k<=cnt; k++) {
pname = substr(props[k], 1, index(props[k], "=") - 1)
@@ -28,12 +27,8 @@ function att_info(i, str, cnt, k, info) {
if (pname == "FMTTYPE")
type = pvalu
}
if (fin)
info = info " \"" fin "\""
if (type)
info = info " " type
if (enc)
info = info " (inline)"
info = "inline"
}
print i, fin, type, enc, info
}