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's standalone e-mails).

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.

Classes
  ClassDescription
Public classMailBeeOutlookMsgBuildingException
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).
Public classMailBeeOutlookMsgException
An abstract parent for all exceptions which can be thrown during parsing OLE2 documents (like Outlook .MSG files).
Public classMailBeeOutlookMsgNotFoundException
The exception that is thrown on an attempt to parse a file which is not OLE2 document (and thus not Outlook .MSG).
Public classMailBeeOutlookMsgParsingException
The exception that is thrown when the OLE2 parsing error occurs (for instance, Outlook .MSG file has errors in its OLE2 structure).
Public classMailBeePstException
An abstract parent for all exceptions which can be thrown during parsing .PST files.
Public classMailBeePstNotFoundException
The exception that is thrown on an attempt to parse a file which is not .PST file.
Public classMailBeePstParsingException
The exception that is thrown when a .PST parsing error occurs (for instance, Outlook .PST file has errors in its structure).
Public classCode exampleMsgConvert
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.
Public classPstActivity
Represents an Activity item.
Public classPstAppointment
Represents an Appointment item.
Public classPstContact
Represents a Contact item.
Public classPstDistList
Represents a distribution list.
Public classPstFolder
Represents a folder of .PST database folder tree.
Public classPstFolderCollection
Provides properties and methods for examining the collection of PstFolder objects.
Public classPstItem
Represents a PST item of unknown type.
Public classPstItemCollection
Provides properties and methods for examining the collection of PstItem objects.
Public classPstMessage
Represents a Message item.
Public classCode examplePstReader
Provides methods for parsing Outlook .PST message database file into a collection of folders and items.
Public classPstRss
Represents an RSS item.
Public classPstTask
Represents a Task item.
Delegates
  DelegateDescription
Public delegateByteToStringConversionHandler
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.
Public delegateHtmlToRtfConversionHandler
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
Public enumerationHtmlToRtfConversionMethod
Defines supported methods of HTML-to-RTF transformation to be performed during EML-to-MSG conversion.
Public enumerationPstItemType
Defines types of PST objects.
Public enumerationRtfInEmlStorageMethod
Defines supported methods of placing RTF body of the source .MSG message into resulting .EML message.