Commit 353cbbc4 authored by rswindell's avatar rswindell
Browse files

If an export netmail message has MSGID/REPLY header fields, add those as...

If an export netmail message has MSGID/REPLY header fields, add those as kludges (needed for including message-IDs in exported netmail).
parent 8195204d
......@@ -1233,6 +1233,10 @@ int create_netmail(const char *to, const smbmsg_t* msg, const char *subject, con
fprintf(fp,"\r");
}
} else {
if(msg->ftn_msgid != NULL)
fprintf(fp, "\1MSGID: %.256s\r", msg->ftn_msgid);
if(msg->ftn_reply != NULL)
fprintf(fp, "\1REPLY: %.256s\r", msg->ftn_reply);
if(msg->ftn_flags != NULL)
fprintf(fp, "\1FLAGS %s\r", msg->ftn_flags);
else if(msg->hdr.auxattr&MSG_KILLFILE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment