EmailFormats
Encapsulates all emails formats. Includes the following file types: Tnef
, Eml
, Emlx
, Msg
, Html
, Mhtml
.
public struct EmailFormats : IDocumentFormat, IEquatable<EmailFormats>
Properties
Name |
Description |
Extension { get; } |
In implementing type should return format file extension (without leading dot character). |
Mime { get; } |
In implementing type should return a MIME-code for the given format |
Name { get; } |
In implementing type should return full formal format name |
Methods
Name |
Description |
static FromExtension(string) |
Returns instance of EmailFormats structure, associated to specified filename extension, or throws an exception, if extension cannot be properly parsed |
Equals(EmailFormats) |
Determines whether this instance is equal to the other specified Email instance |
Equals(IDocumentFormat) |
Determines whether this instance is equal to the other specified IDocumentFormat instance |
override Equals(object) |
Determines whether this instance is equal to the other specified object, that is presumably of boxed Email |
override GetHashCode() |
Returns a hash-code, that is immutable for this instance |
override ToString() |
Returns a format name of this format |
operator == |
Checks two given Email instances on equality |
operator != |
Checks two given Email instances on inequality |
Fields
Name |
Description |
static readonly Eml |
EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format here. |
static readonly 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. |
static readonly Html |
HTML formatted emails. |
static readonly Ics |
The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is an internet standard (RFC 2445) for exchanging and deploying the calendaring events and scheduling. Learn more about this file format here. |
static readonly 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. |
static readonly Mhtml |
MHTML, an initialism of “MIME encapsulation of aggregate HTML documents” |
static readonly 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. |
static readonly Oft |
Files with .oft extension are template files that are created using Microsoft Outlook. Learn more about this file format here. |
static readonly Ost |
Offline Storage Table (OST) file represents user’s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format here. |
static readonly 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. |
static readonly Tnef |
Transport Neutral Encapsulation Format (TNEF) is a Microsoft proprietary, for encapsulating email attachments based on Messaging Application Programming Interface (MAPI). Learn more about this file format here. |
static readonly Vcf |
VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. Learn more about this file format here. |
static readonly All |
Returns an internal class, that provides enumerable possibilities over all existing email formats |
Other Members
Name |
Description |
class AllEnumerable |
Implements IEnumerable generic interface, that enables a ‘foreach’ possibility for the Email type |
Learn more about emails format here.
See Also