Body Part Message Class
A message/rfc822 body part.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class BodyPartMessage : BodyPartBasic- Inheritance
- Object BodyPart BodyPartBasic BodyPartMessage
Remarks
Represents a message/rfc822 body part.
Constructors
| BodyPartMessage | Initializes a new instance of the BodyPartMessage class. |
Properties
| Body | Gets the body structure of the message. |
| ContentDescription |
Gets the Content-Description of the body part, if available.
(Inherited from BodyPartBasic) |
| ContentDisposition |
Gets the Content-Disposition of the body part, if available.
(Inherited from BodyPartBasic) |
| ContentId |
Gets the Content-Id of the body part, if available.
(Inherited from BodyPartBasic) |
| ContentLanguage |
Gets the Content-Language of the body part, if available.
(Inherited from BodyPartBasic) |
| ContentLocation |
Gets the Content-Location of the body part, if available.
(Inherited from BodyPartBasic) |
| ContentMd5 |
Gets the MD5 hash of the content, if available.
(Inherited from BodyPartBasic) |
| ContentTransferEncoding |
Gets the Content-Transfer-Encoding of the body part.
(Inherited from BodyPartBasic) |
| ContentType |
Gets the Content-Type of the body part.
(Inherited from BodyPart) |
| Envelope | Gets the envelope of the message, if available. |
| FileName |
Get the name of the file.
(Inherited from BodyPartBasic) |
| IsAttachment |
Determines whether or not the body part is an attachment.
(Inherited from BodyPartBasic) |
| Lines | Gets the length of the message, in lines. |
| Octets |
Gets the size of the body part, in bytes.
(Inherited from BodyPartBasic) |
| PartSpecifier |
Gets the part specifier.
(Inherited from BodyPart) |
Methods
| Accept |
Dispatches to the specific visit method for this MIME body part.
(Overrides BodyPartBasicAccept(BodyPartVisitor)) |
| Encode |
Encodes the BodyPart into the StringBuilder.
(Overrides BodyPartBasicEncode(StringBuilder)) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString |
Returns a String that represents the current BodyPart.
(Inherited from BodyPart) |