OpenPop.NET POP3 Library Documentation

MessagePart.IsAttachment Property

A MessagePart is considered to be an attachment, if
- it is not holding text and is not a MultiPart message
or
- it has a Content-Disposition header that says it is an attachment

public bool IsAttachment { public get; }

See Also

MessagePart Class | OpenPop.Mime Namespace