To extract metadata from emails getMetadata method is used. This method allows to extract the following metadata:
Name Description subject The email “subject” field. email-sender The email “from” field. email-to The email “to” field. May contain more than one address separated by semicolons. email-cc The email “cc” field. May contain more than one address separated by semicolons. Here are the steps to extract metadata from an email:
Instantiate Parser object for the initial email; Call getMetadata method and obtain collection of document metadata objects; Iterate through the collection and get metadata names and values....supported for Zip archive. Therefore, for Zip archive method...