| Author |  | 
      
        | francesco Newbie
 
  
  
 Joined: 06 June 2013
 Online Status: Offline
 Posts: 14
 | 
          Hi, I have an issue when i search an email and i set to search into the body of message (textbox "text" in detailed search). I can't find some mail.
           | Posted: 20 May 2014 at 8:40am | IP Logged |   |  
           | 
 |  Into the log of server mail (hmail) i have:
 
 RECEIVED: TAG6 UID SORT (ARRIVAL) US-ASCII TEXT XXXXXXXX
 
 Is possible that the issue depend from charset? or from command "SORT" instead "SEARCH"?
 
 Thank you
 
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          We use SORT command as it allows for displaying search result in a proper order, and it also works in a bit different way with charsets. If you set UseSortImapForDateMode to Off in data/settings/settings.xml file, IMAP SEARCH should be used, maybe it'll work better for you that way.
           | Posted: 21 May 2014 at 3:03am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | francesco Newbie
 
  
  
 Joined: 06 June 2013
 Online Status: Offline
 Posts: 14
 | 
          Hi Igor,
           | Posted: 14 July 2014 at 2:09am | IP Logged |   |  
           | 
 |  thanks for your answer. I finally found time to test your advice about the settings and now the detailed search works perfectly, without errors. The only thing that doesn't work is that if you search for a word in the message of the email, it works only if you use "text:". It seems that it doesn't work for words in the message or it doesn't search in the message if you don't specify it.
 Thanks in advance for your support
 
 Best regards
 Francesco
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          
           | Posted: 14 July 2014 at 2:13am | IP Logged |   |  
           | 
 |  
| Quote: 
 
    
    | 
      
       | The only thing that doesn't work is that if you search for a word in the message of the email, it works only if you use "text:". It seems that it doesn't work for words in the message or it doesn't search in the message if you don't specify it. |  |  |  
 That's a by-design behavior, WebMail searches in message headers by default. If you need to search in message bodies too, you either need to use "text:" search prefix, or fill "Text" box in advanced search dropdown (the mode accessed upon clicking arrow right next to search field.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |