MailBee.Mime namespace provides classes and enumerations which can be used by your applications and by MailBee components (such as SmtpMail.Smtp and Pop3Mail.Pop3) for the following major tasks:
- Automatically parse mail messages in MIME format into a set of easy-to-use properties and collections
- Prepare mail messages for display in different containers such as browser or textbox control (including coloring quotations, highlighting links, processing embedded and external images, and more)
- Compose new messages and automatically convert them into MIME format
- Perform mail merge
- Modify existing messages (including forwarding an existing message as attachment of a new message)
- Load and save mail messages and individual parts from/into disk files, streams, strings, arrays
- With the help of MailBee.Security.Smime class (licensed separately), MailBee.NET can also encrypt/decrypt e-mails, verify signatures, etc
MIME format (RFC2822) is the standard format for storing and transmitting mail messages in the Internet. Also, mail messages saved in this format (.EML files) are understood by most mail reader programs (including Microsoft Outlook Express).
Namespace hierarchy
Classes
| Class |
Description |
|
Attachment
|
Provides properties and methods for constructing or examining a single attachment to the mail message.
|
|
AttachmentCollection
|
Provides properties and methods for managing and examining the collection of Attachment objects. |
|
EmailAddress
|
Provides properties and methods used to parse, examine and construct a single e-mail address.
|
|
EmailAddressCollection
|
Provides properties and methods for managing and examining the collection of the EmailAddress objects.
|
|
Header
|
Provides properties for examining or setting the name or the value of a single field of the headers section of a MIME part.
|
|
HeaderCollection
|
Represents a collection of all the headers of a mail message or a MIME part.
|
|
MailMerge
|
Provides properties and methods for creating customized messages based on a template.
|
|
MailMessage
|
Provides properties and methods for constructing and examining a single e-mail message.
|
|
MailMessageCollection
|
Provides properties and methods for managing and examining the collection of MailMessage objects.
|
|
MessageBuilderConfig
|
Provides properties and methods which affect how the mail message is being built from the MailMessage object properties and collections into the message raw data (in MIME format).
|
|
MessageParserConfig
|
Provides properties and methods which affect how the mail message is being parsed from the raw data (MIME source) into the MailMessage object properties and collections.
|
|
MimePart
|
Represents a MIME part of the message.
|
|
MimePartCollection
|
Provides properties and methods for examining the collection of MimePart objects.
|
|
StringConversionConfig
|
Provides properties the developer can use to affect how the values of string properties of MailMessage and dependent objects should be charset-converted when being returned to the application.
|
|
TextBodyPart
|
Represents a text body of the message.
|
|
TextBodyPartCollection
|
Provides properties and methods for managing and examining the collection of TextBodyPart objects.
|
|
TimeStamp
|
Provides properties and methods for examining a time stamp representing a moment when the message was received by a mail gateway or a mail server.
|
|
TimeStampCollection
|
Provides properties and methods for examining the collection of TimeStamp objects.
|
Enumerations
| Enumeration |
Description |
|
AddressDelimeterChar
|
Defines the available characters for delimiting e-mail addresses when building an e-mail address string.
|
|
AHRefTagAttributes
|
Defines the available attributes of <A HREF> tags contained in HTML message body which can be affected by cleanup process during parsing the message.
|
|
CharsetMetaTagProcessing
|
Defines the available modes which affect processing of META tags during parsing HTML body of the message.
|
|
HeaderEncodingOptions
|
Defines the available options which affect how message headers are encoded with mail transfer encodings such as Base64 or Quoted-Printable.
|
|
HtmlMessageAutoSaving
|
Defines the available modes for automatic saving of the HTML body or related files of the message into WorkingFolder location during parsing the message.
|
|
HtmlToPlainAutoConvert
|
Defines the available modes which specify when HTML body of a message should automatically be converted into plain text during parsing of this message.
|
|
HtmlToPlainConvertOptions
|
Defines the available flags which affect how HTML body of a message is converted into plain text.
|
|
HtmlToSimpleHtmlAutoConvert
|
Defines the available modes which specify if HTML body of a message should be converted into simple HTML.
|
|
HtmlToSimpleHtmlConvertOptions
|
Defines the available flags which affect how HTML body of a message should be converted into simple HTML.
|
|
ImportBodyOptions
|
Defines the available flags for importing the body of the mail message from a file or URI via LoadBodyText method.
|
|
ImportRelatedFilesOptions
|
Defines the available flags which affect how files related to the HTML body of the mail message are attached to the message by ImportRelatedFiles method.
|
|
MailMergeTargets
|
Defines mail message elements where patterns should be searched and replaced with actual values during mail merge operation.
|
|
MailPriority
|
Defines the available values for MailMessage.Priority property. |
|
MailSensitivity
|
Defines the available values for MailMessage.Sensitivity property. |
|
MailTransferEncoding
|
Defines the available values for the properties specifying mail transfer encoding for text parts of the message |
|
MessageBodyType
|
Defines the available types of the mail message body being loaded with LoadBodyText method.
|
|
MessageElements
|
Defines a set of flags which specify message elements to be cleared by MailMessage.Clear method call.
|
|
MessageFolderBehavior
|
Defines the available modes of maintaining the unique message folder associated with the mail message. |
|
MimePartType
|
Defines the available categories of MIME parts.
|
|
NewAttachmentOptions
|
Defines the available flags affecting how a new Attachment object will be created by Add method and its overloads which accept options parameter. |
|
PlainToHtmlAutoConvert
|
Defines modes which specify the condition which triggers automatic conversion of the plain-text body into HTML during parsing the message.
|
|
PlainToHtmlConvertOptions
|
Defines the available flags affecting conversion of the plain-text body into HTML during parsing the message.
|
|
StringConversionMode
|
Defines the modes which specify if (and how) the values of string properties of MailMessage and dependent objects should be charset-converted when being returned to the application.
|
|
VirtualMappingType
|
Defines the available modes which specify how the virtual paths should be generated by GetHtmlAndSaveRelatedFiles method for inline attachments referenced in HTML body.
|