Represents a text body of the message.
For a list of all members of this type, see TextBodyPart Members.
System.Object
MailBee.Mime.TextBodyPart
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The MIME parts of the message can include text parts and attachments.
A MIME part is considered to be a text part if its ContentType starts with text/ and this part is not attachment. For instance, MIME parts of the following content types are text parts:
To get plain-text body of the message, use BodyPlainText property. To get HTML body, use BodyHtmlText property.
To access all the text parts (in the case if you need specific part, such as XML body if any), use BodyParts property.
The example is available in TextBodyPartCollection topic.
Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll)
TextBodyPart Members | MailBee.Mime Namespace | Attachment | MimePart