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

MS Outlook can place names of to/from users in single-quotes

Parse single-quoted "name" portion of email-addr header fields. I don't think this is going to fully solve the issue with FTN netmail gated to SMTP and replied via Outlook, but it's a start. Try that Nelgin.
parent 5269488c
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #723 passed
...@@ -2719,6 +2719,9 @@ static void parse_mail_address(char* p ...@@ -2719,6 +2719,9 @@ static void parse_mail_address(char* p
if((tp=strchr(p,'"'))!=NULL) { /* name in quotes? */ if((tp=strchr(p,'"'))!=NULL) { /* name in quotes? */
p=tp+1; p=tp+1;
tp=strchr(p,'"'); tp=strchr(p,'"');
} else if(*p == '\'') { /* MS Outlook will put names in single-quotes */
p++;
tp=strchr(p, '\'');
} else if((tp=strchr(p,'('))!=NULL) { /* name in parenthesis? */ } else if((tp=strchr(p,'('))!=NULL) { /* name in parenthesis? */
p=tp+1; p=tp+1;
tp=strchr(p,')'); tp=strchr(p,')');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment