private void imap4Server1_SearchMessage(object sender, Imap4SearchMessageEventArgs e) { if (e.Criteria.IndexOf("UNDELETED SINCE") > -1) { string dateCriteria = e.Criteria.Substring("UNDELETED SINCE".Length).Trim(); if (DateTime.TryParseExact(dateCriteria, "d-MMM-yyyy", CultureInfo.InvariantCulture, DateTimeStyles.None, out DateTime date)) { e.Matches = ((e.Message.Flags & MailMessageFlags.Deleted) == 0) && (e.Message.Date > date); e.Handled = true; } } }
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add admin@clevercomponents.com to your trusted senders list in your email software.