OpenPop.NET POP3 Library Documentation

Message.FindFirstPlainTextVersion Method

Finds the first text/plain MessagePart in this message.
This is a convenience method - it simply propagates the call to FindFirstMessagePartWithMediaType.

If no text/plain version is found, a null reference is returned.

public MessagePart FindFirstPlainTextVersion();

Return Value

MessagePart which has a MediaType of text/plain or a null reference if such MessagePart could not be found.

See Also

Message Class | OpenPop.Mime Namespace