| Author |  | 
      
        | amitleen Newbie
 
  
 
 Joined: 14 October 2012
 Location: India
 Online Status: Offline
 Posts: 1
 | 
          
           | Posted: 14 October 2012 at 12:49am | IP Logged |   |  
           | 
 |  Hi,
 
 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.
 
 Thanks,
 Amit Shah
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          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.
           | Posted: 15 October 2012 at 2:30am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |