You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/06/30 14:00:46 UTC

[jira] [Resolved] (TIKA-937) RFC822Parser is extracting only the first destination address

     [ https://issues.apache.org/jira/browse/TIKA-937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved TIKA-937.
--------------------------------

    Resolution: Not A Problem
      Assignee: Jukka Zitting

No, the parser explicitly adds all addresses to the Metadata instance, see {{MailContentHandler.processAddressList()}}.

Are you using Metadata.get() or .getValues() to access these fields? The former method only returns the first value of a multi-valued metadata field.

If the above doesn't solve the problem, please reopen this issue with an example message that illustrates the problem.
                
> RFC822Parser is extracting only the first destination address
> -------------------------------------------------------------
>
>                 Key: TIKA-937
>                 URL: https://issues.apache.org/jira/browse/TIKA-937
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.1
>         Environment: Windows 7 Enterprise 64bits, java 1.6.0_25 x86
>            Reporter: Luis Filipe Nassif
>            Assignee: Jukka Zitting
>
> RFC822Parser is writting to metadata only the first address from "To" and "Cc" header fields (i did not test "Cco"). Other destination addresses are lost.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira