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

Generate a MSGID kludge for netmail messages created by SBBSecho

The "serialno" field is a bad/naive one (a time_t value), but this is really just an experiment for Ragnarok to see if this fixes issue #306 (with hotdoged receiving AreaFix responses/notices).
parent 530a9c54
No related branches found
No related tags found
No related merge requests found
...@@ -1117,6 +1117,7 @@ int create_netmail(const char *to, const smbmsg_t* msg, const char *subject, con ...@@ -1117,6 +1117,7 @@ int create_netmail(const char *to, const smbmsg_t* msg, const char *subject, con
} }
fprintf(fp,"\r"); fprintf(fp,"\r");
} }
fprintf(fp, "\1MSGID: %s %08lx\r", smb_faddrtoa(&faddr, NULL), time32(NULL));
} else { } else {
if(msg->ftn_msgid != NULL) if(msg->ftn_msgid != NULL)
fprintf(fp, "\1MSGID: %.256s\r", msg->ftn_msgid); fprintf(fp, "\1MSGID: %.256s\r", msg->ftn_msgid);
......
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