EmailMetadataExtractor Class
Provides the functionality to extract the metadata from email messages.
Inheritance Hierarchy
SystemObject
  GroupDocs.Parser.Extractors.MetadataMetadataExtractor
    GroupDocs.Parser.Extractors.MetadataEmailMetadataExtractor

Namespace: GroupDocs.Parser.Extractors.Metadata
Assembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 19.5
Syntax
public sealed class EmailMetadataExtractor : MetadataExtractor

The EmailMetadataExtractor type exposes the following members.

Constructors
  NameDescription
Public methodEmailMetadataExtractor
Initializes a new instance of the EmailMetadataExtractor class
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExtractMetadata(Stream)
Extracts the metadata from the stream.
(Inherited from MetadataExtractor.)
Public methodExtractMetadata(String)
Extracts the metadata from the fileName.
(Inherited from MetadataExtractor.)
Public methodExtractMetadata(Stream, LoadOptions)
Extracts the metadata from the stream.
(Inherited from MetadataExtractor.)
Public methodExtractMetadata(String, LoadOptions)
Extracts the metadata from the fileName.
(Inherited from MetadataExtractor.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Remarks

Supported formats:

.MSGMicrosoft Outlook message
.EMLEmail Message
.EMLXApple's macOS Mail message
Examples

Extracting the metadata:

C#
// Create a metadata extractor for emails
var metadataExtractor = new EmailMetadataExtractor();
// Extract a metadata from the stream
var metadata = metadataExtractor.ExtractMetadata(stream);
See Also