-
Notifications
You must be signed in to change notification settings - Fork 35
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
Recipients appear duplicated #76
Comments
@atmcq, I had a look at this and the issue stems from the fact we determine which address is a TO, CC and BCC, by comparing the 'display names' that we detective to belong to one of these types. Explanation: this library doesn't actually recognize addresses for specific receiver types, only the names that belong to the person. So what we do to reason back which name+addresses combinations are from which type, we compare against these names we got for these receiver types earlier instead. The problem with this particular message (any many more messages probably) is that both TO and CC receivers share the same name part of the address. It might very well be the same person on different email address too. With the way we check receiver types I described above, both addresses exist in both TO and CC fields. I don't know enough about Outlook on how to fix this. I have no course of action at this point and any help is welcome. |
Instead of checking if the recipient's name exists in the key, just get all the entries of the key (semicolon separated), and search to find them in the general list of recipients
Instead of checking if the recipient's name exists in the key, just get all the entries of the key (semicolon separated), and search to find them in the general list of recipients
…ss, but with the same name and in the same category (to, cc, bcc)
See bbottema/simple-java-mail#504
CC duplicate recipients bug.msg causes recipients to appear duplicated in To and Cc lists.
CC duplicate recipients bug.zip
The text was updated successfully, but these errors were encountered: