MailBee.NET Objects 4.0

ImapBodyStructure.Disposition Property

Get the disposition (attachment or inline) of the MIME part.

public string Disposition {get;}

Property Value

The string containing "Content-Disposition" header value, or a null reference (Nothing in Visual Basic) if the part does not have "Content-Disposition" header set.

Remarks

Examples: "attachment", "INLINE".

If this header is missing, the application should assume "inline" by default.

Note   If the entire "Content-Disposition" message header contains some additional parameters (such as "filename"), the developer can examine DispositionParams list to obtain the parameter names and values.

See Also

ImapBodyStructure Class | MailBee.ImapMail Namespace