Click or drag to resize
MimeKit

SearchQuerySentOn Method

Match messages that were sent on the specified date.

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

Parameters

date  DateTime
The date.

Return Value

DateSearchQuery
A DateSearchQuery.
Remarks

Matches messages that were sent on the specified date.

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

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