Search The ForumSearch   RegisterRegister  LoginLogin


 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: Imap Search function Post ReplyPost New Topic
Message << Prev Topic | Next Topic >>

Joined: 14 November 2008
Online Status: Offline
Posts: 1
Posted: 14 November 2008 at 11:52am | IP Logged Quote ajakblackgoat


How do I construct the search criteria for the Search function when I want to search for messages which have header field 'X-StartDateTime' > some date?

Back to Top View ajakblackgoat's Profile Search for other posts by ajakblackgoat
AfterLogic Support
AfterLogic Support

Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 15 November 2008 at 1:53am | IP Logged Quote Andrew

IMAP protocol doesn't allow this. In case of custom headers, it allows searching for messages which contain a certain value in a certain header:

HEADER <field-name> <string>
Messages that have a header with the specified field-name (as defined in [RFC-2822]) and that contains the specified string in the text of the header (what comes after the colon). If the string to search is zero-length, this matches all messages that have a header line with the specified field-name regardless of the contents.

To learn which search options are supported, please refer to Imap.Search method documentation.

Best regards,
Back to Top View Andrew's Profile Search for other posts by Andrew

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide