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....Usage / Extract data from various formats / Extract data from...from Emails / Extract metadata from Emails Extract metadata from...