Skip to content
Snippets Groups Projects
Commit 62a38d76 authored by rswindell's avatar rswindell
Browse files

Add BBS name and sysop name to PING netmail response message body.

parent 752fdc39
No related branches found
No related tags found
No related merge requests found
......@@ -4367,8 +4367,10 @@ int import_netmail(const char* path, fmsghdr_t hdr, FILE* fp, const char* inboun
if(body == NULL)
body = fmsgbuf;
else {
bodylen += sprintf(body, "Your PING request was received: %s %s\r"
bodylen += sprintf(body, "Your PING request was received at: %s %s\r"
,timestr(&scfg, time32(NULL), tmp), smb_zonestr(sys_timezone(&scfg),NULL));
bodylen += sprintf(body, "by: %s (sysop: %s) @ %s\r"
,scfg.sys_name, scfg.sys_op, smb_faddrtoa(&scfg.faddr[match], NULL));
time_t t = (time_t)fmsgtime(hdr.time);
bodylen += sprintf(body+bodylen, "\rThe received message header contained:\r\r"
"Subj: %s\r"
......
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