MailBee.NET Objects 4.0

ImapBodyStructure.ContentType Property

Gets the content-type of the MIME part.

public string ContentType {get;}

Property Value

The string value in the "media type/media sub type" format.

Remarks

Examples: "text/plain", "TEXT/HTML", "multipart/mixed", "Multipart/Related", "message/rfc822", "application/octet-stream".

Note   If the entire "Content-Type" message header contains some additional parameters (such as "charset", "name", etc), the developer can examine BodyParams list to obtain the parameter names and values.

See Also

ImapBodyStructure Class | MailBee.ImapMail Namespace