MessagePart.GetBodyAsText Method

OpenPop.NET

OpenPop.NET POP3 Library Documentation

MessagePart.GetBodyAsText Method

Gets this MessagePart's Body as text.
This is simply the BodyEncoding being used on the raw bytes of the Body property.
This method is only valid to call if it is not a MultiPart message and therefore contains a body.

public string GetBodyAsText();

Return Value

The Body property as a string

See Also

MessagePart Class | OpenPop.Mime Namespace