Skip to content

EmailConverter.outlookMsgToEmail duplicates recipients #241

Closed

Description

@Faelean

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

  1. bbottema commented on Jan 7, 2020

    @bbottema
    Owner

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

  2. Faelean commented on Jan 7, 2020

    @Faelean
    Author

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

  3. self-assigned this
    on Jan 7, 2020
  4. added this to the 6.0.0-rc3 milestone on Jan 7, 2020
  5. added a commit that references this issue on Jan 7, 2020
  6. bbottema commented on Jan 7, 2020

    @bbottema
    Owner

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

  7. added a commit that references this issue on Jan 8, 2020
  8. bbottema commented on Jan 8, 2020

    @bbottema
    Owner

    Fixed in 6.0.0-rc3.

  9. bbottema commented on Jan 24, 2020

    @bbottema
    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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions