Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmailConverter.outlookMsgToEmail duplicates recipients #241

Closed
Faelean opened this issue Jan 7, 2020 · 5 comments
Closed

EmailConverter.outlookMsgToEmail duplicates recipients #241

Faelean opened this issue Jan 7, 2020 · 5 comments
Assignees
Milestone

Comments

@Faelean
Copy link

Faelean commented Jan 7, 2020

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

the list of recipients contains three entries,

[{
	address = '[email protected]', 
	type = 'To'
},
{
	address = '[email protected]', 
	type = 'To'
},
{
	address = '[email protected]', 
	type = 'Cc'
}]

instead of the expected two.

@bbottema
Copy link
Owner

bbottema commented Jan 7, 2020

That's not good. Do you have a sample .msg for me to debug?

@Faelean
Copy link
Author

Faelean commented Jan 7, 2020

I've send you an email containing a sample .msg.

@bbottema bbottema self-assigned this Jan 7, 2020
@bbottema bbottema added this to the 6.0.0-rc3 milestone Jan 7, 2020
bbottema added a commit that referenced this issue Jan 7, 2020
@bbottema
Copy link
Owner

bbottema commented Jan 7, 2020

Bug is fixed, waiting for additional test data. /edit: data received

@bbottema
Copy link
Owner

bbottema commented Jan 8, 2020

Fixed in 6.0.0-rc3.

@bbottema bbottema closed this as completed Jan 8, 2020
@bbottema
Copy link
Owner

6.0.0 has released as well, finally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants