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

Don't put UTF-8 chars in the new e-mail user notification message/telegram.

We don't yet support UTF-8 in node/user messages.
parent 59f71da5
No related branches found
No related tags found
No related merge requests found
......@@ -3950,6 +3950,8 @@ static void smtp_thread(void* arg)
,startup->newmail_notice
,timestr(&scfg,newmsg.hdr.when_imported.time,tmp)
,sender, p);
if(newmsg.hdr.auxattr&MSG_HFIELDS_UTF8)
utf8_to_cp437_str(str);
if(!newmsg.idx.to) /* Forwarding */
sprintf(str+strlen(str), startup->forward_notice, rcpt_addr);
putsmsg(&scfg, usernum, str);
......
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