Click or drag to resize

BodyStructure Class

Represents structure of the email stored on the IMAP server. You can use GetBodyStructureByUID(ListInt64) or GetBodyStructureByNumber(ListInt64) methods to get the structure of the specified emails.
Inheritance Hierarchy
SystemObject
  Limilabs.Client.IMAPBodyStructure

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
[SerializableAttribute]
public class BodyStructure

The BodyStructure type exposes the following members.

Properties
 NameDescription
Public propertyAlternatives Gets the list of alternative elements in this email message. You can use GetDataByUID(MimeStructure) or GetDataByNumber(MimeStructure) to get the part's content.
Public propertyAppointments Gets the list of all structures representing appointments in this email message.
Public propertyAttachments Gets the list of all attachments in this email message. Including Alternatives, Visuals and NonVisuals. You can use GetDataByUID(MimeStructure) or GetDataByNumber(MimeStructure) to get the part's content.
Public propertyHtml Gets the object representing 'text/html' body of this email message. May be null if no HTML data is present. You can use GetTextByUID(MimeTextStructure) or GetTextByNumber(MimeTextStructure) to get the part's content.
Public propertyMessageNumber Gets message number assigned by an IMAP server.
Public propertyNonVisuals Gets the list of all non visual elements in this email message. E.g. Attached data files. You can use GetDataByUID(MimeStructure) or GetDataByNumber(MimeStructure) to get the part's content.
Public propertyRtf Gets the object representing 'text/rtf' or 'application/rtf' body of this email message. May be null if no RTF data is present. You can use GetTextByUID(MimeTextStructure) or GetTextByNumber(MimeTextStructure) to get the part's content.
Public propertyText Gets the object representing 'text/plain' body of this email message. May be null if no text/plain data is present. You can use GetTextByUID(MimeTextStructure) or GetTextByNumber(MimeTextStructure) to get the part's content.
Public propertyUID Gets UID of this message assigned by an IMAP server.
Public propertyVCards Gets the list of all structures representing vCards in this email message.
Public propertyVisuals Gets the list of all visual elements in this email message. E.g. Images embedded inside HTML email. You can use GetDataByUID(MimeStructure) or GetDataByNumber(MimeStructure) to get the part's content.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also