Search The ForumSearch   RegisterRegister  LoginLogin

MailBee IMAP4

 AfterLogic Forum : MailBee IMAP4
Subject Topic: Search for specific string in the subject Post ReplyPost New Topic
Message << Prev Topic | Next Topic >>

Joined: 14 October 2012
Location: India
Online Status: Offline
Posts: 1
Posted: 14 October 2012 at 12:49am | IP Logged Quote amitleen


I need a little help with the search part.

I am trying to search for a specific string in the subject line and get the UID's of those messages sorted from the latest email first to the oldest emails last.

The subject line would be different every time and I will need to search for a specific word for example:

Travelling to Australia QID4664.

I need to get the list of emails where the subject contains "QID4664"

Awaiting reply eagerly.

Amit Shah
Back to Top View amitleen's Profile Search for other posts by amitleen
AfterLogic Support
AfterLogic Support

Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6071
Posted: 15 October 2012 at 2:30am | IP Logged Quote Igor

IMAP.Search method allows for what you need, simply supply "SUBJECT" search key followed by search word, those should be separated with space. The method returns array of UIDs or numbers of matching messages.

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

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