OpenPop.NET POP3 Library Documentation

Message.FindAllMessagePartsWithMediaType Method

Finds all the MessageParts in the Message hierarchy with the given MediaType.

public List<MessagePart> FindAllMessagePartsWithMediaType(
   string mediaType
);

Parameters

mediaType
The MediaType to search for. Case is ignored.

Return Value

A List of MessageParts with the given MediaType.
The List might be empty if no such MessageParts were found.
The order of the elements in the list is the order which they are found using a depth first traversal of the Message hierarchy.

See Also

Message Class | OpenPop.Mime Namespace