|
View Message
| Contact Name: |
Mauricio Sanches |
| Message Date: |
4/19/2011 2:58:58 PM |
| Subject: |
Incorrect parser of address containing \" |
Message:
When using the Parse822_ParseMessage API to parse an email message which address fields has names containing escaped quote sequences, the values returned on the PARSE822_ADDRESS struct of the PARSE822_MESSAGE are incorrect. For instance, if the "CC:" field of the RFC822 message contains the following addresses CC: TJ's Sean <sean@tjs.com.vi>, "TJ\"S TOKOROA" <johntv@tjs.com.xy>, Tim Simondson <tim.simondson@ampd.co.zr>
Then the parsed addresses returned on the pRecipients of the PARSE822_MESSAGE are wrong.
The first item will have: szName = TJ's Sean szAddress = <sean@tjs.com.vi>
Ok, but the second item will have: szName = NULL szAddress = "TJ\"S TOKOROA"<johntv@tjs.com.xy>, Tim Simondson <tim.simondson@ampd.co.zr
The problem occurrs on different flavours with names containing escaped quotes (also leading or trailing quotes) on any of the address fields (either From, To, Cc, Bcc...) The parse822.dll is 2.0.2.5
Regards, Mauricio
|
|
|