Click or drag to resize
MimeKit

SearchQuerySentBefore Method

Match messages that were sent before the specified date.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public static DateSearchQuery SentBefore(
	DateTime date
)

Parameters

date  DateTime
The date.

Return Value

DateSearchQuery
A DateSearchQuery.
Remarks

Matches messages that were sent before the specified date.

The resolution of this search query does not include the time.

Note  Note
This is equivalent to the SENTBEFORE search key as defined in rfc3501.
See Also