MailBee.NET Objects 7.2

MailBee.Outlook Namespace

MailBee.Outlook namespace has two main classes: MsgConvert and PstReader.

MsgConvert class provides methods for converting between RFC822 files and streams (usual MIME mail messages in .EML format) and Outlook .MSG files and streams (the data format of Outlook 97-2003).

MsgConvert class also has methods for reading .MSG data into MailBee.Mime.MailMessage objects and writing these objects into .MSG files and streams.

PstReader class can read .PST files (used by Outlook to store all the data), extract its folder structure and all individual items like messages, contacts, tasks and appointments. All items can be represented as MailBee.Mime.MailMessage objects.

MsgConvert and PstReader support attachments, ANSI and Unicode charsets, plain-text, HTML and RTF bodies.

Namespace hierarchy

Classes

ClassDescription
MailBeeOutlookMsgBuildingException The exception that is thrown when the OLE2 building error occurs (for instance, when it's not possible to create Outlook .MSG file from the source data).
MailBeeOutlookMsgException An abstract parent for all exceptions which can be thrown during parsing OLE2 documents (like Outlook .MSG files).
MailBeeOutlookMsgNotFoundException The exception that is thrown on an attempt to parse a file which is not OLE2 document (and thus not Outlook .MSG).
MailBeeOutlookMsgParsingException The exception that is thrown when the OLE2 parsing error occurs (for instance, Outlook .MSG file has errors in its OLE2 structure).
MailBeePstException An abstract parent for all exceptions which can be thrown during parsing .PST files.
MailBeePstNotFoundException The exception that is thrown on an attempt to parse a file which is not .PST file.
MailBeePstParsingException The exception that is thrown when a .PST parsing error occurs (for instance, Outlook .PST file has errors in its structure).
MsgConvert Provides methods for parsing and converting Outlook .MSG files/streams (in OLE2 format) into MailMessage objects and files/streams in .EML format (RFC822 MIME), and for building .MSG files/streams from MailMessage objects and .EML files/streams.
PstActivity Represents an Activity item.
PstAppointment Represents an Appointment item.
PstContact Represents a Contact item.
PstFolder Represents a folder of .PST database folder tree.
PstFolderCollection Provides properties and methods for examining the collection of PstFolder objects.
PstItem Represents a PST item of unknown type.
PstItemCollection Provides properties and methods for examining the collection of PstItem objects.
PstMessage Represents a Message item.
PstReader Provides methods for parsing Outlook .PST message database file into a collection of folders and items.
PstRss Represents an RSS item.
PstTask Represents a Task item.

Delegates

DelegateDescription
ByteToStringConversionHandler Defines the signature of a method supplied by the application in order to get string from SINGLE bytes data when making MSG-to-EML conversion.
HtmlToRtfConversionHandler Defines the signature of a method supplied by the application in order to get RTF text from HTML body when making EML-to-MSG conversion.

Enumerations

EnumerationDescription
HtmlToRtfConversionMethod Defines supported methods of HTML-to-RTF transformation to be performed during EML-to-MSG conversion.
PstItemType Defines types of PST objects.
RtfInEmlStorageMethod Defines supported methods of placing RTF body of the source .MSG message into resulting .EML message.