bbottema / outlook-message-parser

A Java parser for Outlook messages (.msg files)
76 stars 35 forks source link

Update OutlookRecipient.java #68

Closed dwlabcube closed 10 months ago

dwlabcube commented 10 months ago

Correction for the X500 Address In Exchange. Now it is on the correct if statement. #67

mhw commented 10 months ago

Just as a data point, some Outlook message samples I'm working with have X500 addresses where the organisation part is not ExchangeLabs. That is the address values start with /o={some other value}/ou=Exchange Administrative Group. I don't know how widespread this is, and I'd guess it depends on the way that Active Directory is being used. But it does mean that the prefix match in this PR would not match in their case.

bbottema commented 9 months ago

Thanks @mhw, I've added a bit more comprehensive heuristic to test for X500 addresses. Released in 1.10.2.

bbottema commented 9 months ago

I've modified the heuristic for detecting X500 addresses in 1.10.2. Perhaps you can verify your case still works.