"value": scan_time
};
item.id = item['message-id'];
- item.rcpt_mime = item.rcpt_mime.join(",​");
+ if (JSON.stringify(item.rcpt_smtp) !== JSON.stringify(item.rcpt_mime)) {
+ item.rcpt_mime = "[" + item.rcpt_smtp.join(",​") + "] " + item.rcpt_mime.join(",​");
+ } else {
+ item.rcpt_mime = item.rcpt_mime.join(",​");
+ }
+ if (item.sender_mime !== item.sender_smtp) {
+ item.sender_mime = "[" + item.sender_smtp + "] " + item.sender_mime;
+ }
items.push(item);
});
}
}, {
"name": "sender_mime",
- "title": "From",
+ "title": "[Envelope From] From",
"breakpoints": "xs sm md",
"style": {
"font-size": "11px",
}
}, {
"name": "rcpt_mime",
- "title": "To",
+ "title": "[Envelope To] To",
"breakpoints": "xs sm md",
"style": {
"font-size": "11px",