File Content Extraction 26.2
XML Export SDK C Programming Guide

# Extract Mail Files

A file that contains an e-mail message, for example a Microsoft Outlook .MSG file, is typically treated as a container even if it does not have any attachments. File Content Extraction provides access to the message text as a subfile.

When you extract a subfile that represents the text of a message, File Content Extraction includes header fields such as `From`, `To`, and `Subject`, but this information is also available as subfile metadata through the metadata API. You can choose not to include the header information when extracting the message text (see Mail Metadata).

Any files that were attached to the e-mail message are also available as subfiles.

Sometimes a mail message might contain another message as an attachment, and the attached message might have its own attachments. In this case File Content Extraction considers the text of the attached message, and its attachments, as subfiles of the original container. The API provides information that allows you to understand the relationships between the subfiles (see Understand the Subfile Hierarchy).

Copyright 1997-2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.2

Topic Title: Extract Mail Files