ImapBodyStructureContentType Property
Gets the content-type of the MIME part.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public string ContentType { get; }

Property Value

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

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

Note 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