MailBee.NET Objects 4.0

TextBodyPart.AsMimePart Property

Gets the text part as MimePart object.

public MimePart AsMimePart {get;}

Property Value

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

Remarks

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.

Example

The example is available in TextBodyPartCollection topic.

See Also

TextBodyPart Class | MailBee.Mime Namespace