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....extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails...