IMessageSummaryPreviewText Property

Gets the preview text of the message.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
string? PreviewText { get; }

Property Value

String
The preview text.

Remarks

The preview text is a short snippet of the beginning of the message text, typically shown in a mail client's message list to provide the user with a sense of what the message is about.

This property will only be set if the PreviewText flag is passed to one of the Fetch or FetchAsync methods.

See Also