OpenPop.NET POP3 Library Documentation

Message.FindFirstHtmlVersion Method

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

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

public MessagePart FindFirstHtmlVersion();

Return Value

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

See Also

Message Class | OpenPop.Mime Namespace