Skip to content
Snippets Groups Projects
Commit 202b69cd authored by rswindell's avatar rswindell
Browse files

When storing FidoNet netmail received via SMTP, don't include any "@addr"

portion of the To: header field in the RECIPIENT name as FTN software
doesn't typically expect/handle that.
parent 5ee22bca
No related branches found
No related tags found
No related merge requests found
......@@ -3328,6 +3328,11 @@ static void smtp_thread(void* arg)
,reverse_path);
smb_hfield_add_str(&newmsg, SMTPRECEIVED, hdrfield, /* insert: */TRUE);
if(nettype == NET_FIDO) {
char* tp = strchr(rcpt_name, '@');
if(tp != NULL)
*tp = 0;
}
smb_hfield_str(&newmsg, RECIPIENT, rcpt_name);
if(usernum && nettype!=NET_INTERNET) { /* Local destination or QWKnet routed */
......
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