Click or drag to resize
MimeKit

BodyPartMessage Class

A message/rfc822 body part.
Inheritance Hierarchy
SystemObject
  MailKitBodyPart
    MailKitBodyPartBasic
      MailKitBodyPartMessage

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public class BodyPartMessage : BodyPartBasic

The BodyPartMessage type exposes the following members.

Constructors
 NameDescription
Public methodBodyPartMessage Initializes a new instance of the BodyPartMessage class.
Top
Properties
 NameDescription
Public propertyBody Gets the body structure of the message.
Public propertyContentDescription Gets the Content-Description of the body part, if available.
(Inherited from BodyPartBasic)
Public propertyContentDisposition Gets the Content-Disposition of the body part, if available.
(Inherited from BodyPartBasic)
Public propertyContentId Gets the Content-Id of the body part, if available.
(Inherited from BodyPartBasic)
Public propertyContentLanguage Gets the Content-Language of the body part, if available.
(Inherited from BodyPartBasic)
Public propertyContentLocation Gets the Content-Location of the body part, if available.
(Inherited from BodyPartBasic)
Public propertyContentMd5 Gets the MD5 hash of the content, if available.
(Inherited from BodyPartBasic)
Public propertyContentTransferEncoding Gets the Content-Transfer-Encoding of the body part.
(Inherited from BodyPartBasic)
Public propertyContentType Gets the Content-Type of the body part.
(Inherited from BodyPart)
Public propertyEnvelope Gets the envelope of the message, if available.
Public propertyFileName Get the name of the file.
(Inherited from BodyPartBasic)
Public propertyIsAttachment Determines whether or not the body part is an attachment.
(Inherited from BodyPartBasic)
Public propertyLines Gets the length of the message, in lines.
Public propertyOctets Gets the size of the body part, in bytes.
(Inherited from BodyPartBasic)
Public propertyCode examplePartSpecifier Gets the part specifier.
(Inherited from BodyPart)
Top
Methods
 NameDescription
Public methodAccept Dispatches to the specific visit method for this MIME body part.
(Overrides BodyPartBasicAccept(BodyPartVisitor))
Protected methodEncode Encodes the BodyPart into the StringBuilder.
(Overrides BodyPartBasicEncode(StringBuilder))
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString Returns a String that represents the current BodyPart.
(Inherited from BodyPart)
Top
Remarks
Represents a message/rfc822 body part.
See Also