Click or drag to resize
MimeKit

SearchQuerySavedBefore Method

Match messages that were saved to the mailbox before the specified date.

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

Parameters

date  DateTime
The date.

Return Value

DateSearchQuery
A DateSearchQuery.
Remarks

Matches messages that were saved to the mailbox before the specified date.

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

Note  Note
This is equivalent to the SAVEDBEFORE search key as defined in rfc8514, section 4.3 and is therefor only available for use with IMAP servers that support the SAVEDATE extension.
See Also