Skip to content
Snippets Groups Projects
Commit ab0a9995 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Store other mail header types (e.g. content-transfer-endcoding) as RFC822HEADER

Useful when debugging mail issues, e.g. with MIME-encoded mail
parent de90f92d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4053 passed
......@@ -113,6 +113,15 @@ while((line=readln()) != undefined) {
case 'date':
hdr.date=m[2];
break;
default:
if(hdr.field_list == undefined)
hdr.field_list = [];
hdr.field_list.push(
{ type: RFC822HEADER,
data: line
}
);
break;
}
} else
print("Non-header line received: " + line);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment