EmailFormats

Contents
[ ]

Inheritance: java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase

public class EmailFormats extends DocumentFormatBase

Encapsulates all emails formats. Includes the following file types: Tnef, Eml, Emlx, Msg, Html, Mhtml.


Learn more about emails format here.

Fields

Field Description
Tnef Transport Neutral Encapsulation Format (TNEF) is a Microsoft proprietary format for encapsulating email attachments based on Messaging Application Programming Interface (MAPI).
Eml EML file format represents email messages saved using Outlook and other relevant applications.
Emlx The EMLX file format is implemented and developed by Apple.
Msg MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks.
Html HTML formatted emails.
Mhtml MHTML, an initialism of “MIME encapsulation of aggregate HTML documents”.
Ics The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is an internet standard (RFC 2445) for exchanging and deploying calendaring events and scheduling.
Vcf VCF (Virtual Card Format) or vCard is a digital file format for storing contact information.
Pst Files with .pst extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information.
Mbox MBox file format is a generic term that represents a container for collection of electronic mail messages.
Oft Files with .oft extension are template files that are created using Microsoft Outlook.
Ost Offline Storage Table (OST) file represents user\u2019s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook.

Methods

Method Description
getAll() Gets an enumerable collection of all EmailFormats.
fromExtension(String extension) Retrieves an instance of the specified type EmailFormats that has the specified file extension.
fromString(String extension) Converts a string representing a file extension to a EmailFormats object.

Tnef

public static final EmailFormats Tnef

Transport Neutral Encapsulation Format (TNEF) is a Microsoft proprietary format for encapsulating email attachments based on Messaging Application Programming Interface (MAPI). Learn more about this file format here .

Eml

public static final EmailFormats Eml

EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format here .

Emlx

public static final EmailFormats Emlx

The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format here .

Msg

public static final EmailFormats Msg

MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format here .

Html

public static final EmailFormats Html

HTML formatted emails.

Mhtml

public static final EmailFormats Mhtml

MHTML, an initialism of “MIME encapsulation of aggregate HTML documents”.

Ics

public static final EmailFormats Ics

The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is an internet standard (RFC 2445) for exchanging and deploying calendaring events and scheduling. Learn more about this file format here .

Vcf

public static final EmailFormats Vcf

VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. Learn more about this file format here .

Pst

public static final EmailFormats Pst

Files with .pst extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format here .

Mbox

public static final EmailFormats Mbox

MBox file format is a generic term that represents a container for collection of electronic mail messages. Learn more about this file format here .

Oft

public static final EmailFormats Oft

Files with .oft extension are template files that are created using Microsoft Outlook. Learn more about this file format here .

Ost

public static final EmailFormats Ost

Offline Storage Table (OST) file represents user\u2019s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format here .

getAll()

public static List<EmailFormats> getAll()

Gets an enumerable collection of all EmailFormats.

Value: An IEnumerable{EmailFormats} containing all instances of EmailFormats.

Returns: java.util.List<com.groupdocs.editor.formats.EmailFormats>

fromExtension(String extension)

public static EmailFormats fromExtension(String extension)

Retrieves an instance of the specified type EmailFormats that has the specified file extension.

Parameters:

Parameter Type Description
extension java.lang.String The file extension of the document format.

Returns: EmailFormats - An instance of the specified type EmailFormats with the specified file extension.

fromString(String extension)

public static EmailFormats fromString(String extension)

Converts a string representing a file extension to a EmailFormats object.

Parameters:

Parameter Type Description
extension java.lang.String The file extension to convert. If the extension contains multiple periods, the part after the last period is used.

Returns: EmailFormats - A EmailFormats object corresponding to the specified file extension.