I'm currently using v6.0.0-rc2. When converting an Outlook .msg file to Email like this ``` //ByteArrayInputStream Email email = EmailConverter.outlookMsgToEmail(stream)); List<Recipient> recipients = email.getRecipients() ``` the list of recipients contains every 'cc' entry also as a 'to' entry. For example if I have an Email like this ``` To: support@company.com Cc: teamleadSupport@company.com ``` the list of recipients contains three entries, ``` [{ address = 'support@company.com', type = 'To' }, { address = 'teamleadSupport@company.com', type = 'To' }, { address = 'teamleadSupport@company.com', type = 'Cc' }] ``` instead of the expected two.
Activity
bbottema commentedon Jan 7, 2020
That's not good. Do you have a sample .msg for me to debug?
Faelean commentedon Jan 7, 2020
I've send you an email containing a sample .msg.
#241: distinguish properly between TO, CC and BCC recipients when con…
bbottema commentedon Jan 7, 2020
Bug is fixed, waiting for additional test data. /edit: data received
#241: Fixed how Outlook TO, CC and BCC are handled [skip ci]
bbottema commentedon Jan 8, 2020
Fixed in 6.0.0-rc3.
bbottema commentedon Jan 24, 2020
6.0.0 has released as well, finally.