Skip to content
Snippets Groups Projects
Commit 3a78ab4f authored by rswindell's avatar rswindell
Browse files

Set the "LOCAL" network-attribute on locally-created Internet email messages...

Set the "LOCAL" network-attribute on locally-created Internet email messages (no use currently, but seems prudent).
Set the KILLSENT network attribute for created Internet email messages when enabled in SCFG->Networks->Internet (new option).
parent d529a310
Branches
Tags
No related merge requests found
......@@ -1106,6 +1106,10 @@ bool sbbs_t::inetmail(const char *into, const char *subj, long mode, smb_t* resm
msg.hdr.when_written.time=msg.hdr.when_imported.time=time32(NULL);
msg.hdr.when_written.zone=msg.hdr.when_imported.zone=sys_timezone(&cfg);
msg.hdr.netattr |= MSG_LOCAL;
if(cfg.inetmail_misc&NMAIL_KILL)
msg.hdr.netattr |= MSG_KILLSENT;
if(rcpt_count > 1)
smb_hfield_str(&msg, RECIPIENTLIST, to_list);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment