TextBodyPartAsMimePart Property
Gets the text part as MimePart object.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public MimePart AsMimePart { get; }

Property Value

Type: MimePart
A MimePart object representing the text part as a MIME part.

MimePart corresponding to the given text part provides access to those properties that are not available in TextBodyPart but accessible in MimePart only.

To get the root part of the MIME parts tree of the message, use MimePartTree property of MailMessage object. MimePartTree MIME part contains all the MIME parts of the message.

The example is available in TextBodyPartCollection topic.
See Also