How ca i search a particular word in mail

can anybody please tell me how to search a particular word in mail
Please mention the coding

Message[] msgs = folder.search(new BodyTerm("word"));
Note that no regular expressions are supported and "word" really means "substring".

Similar Messages

  • How do I search for a word through multiple files in my directories ??

    Hello everyone
    How do I search for a word through multiple files in my directories ??
    I am guessing one tedious way to do it would be to pass all the file names as command line arguments but I"m sure there exist a much easier and faster way to do it.
    Thanks a lot

    You need to pass only the directory name as parameter and then retrieve the files(recursively throug subdirs or not, however you wish) of that directory.
    There were at least 2 threads yesterday on how to retrieve files from directory, and there are many others in the archive so I leave the search part to you ;)
    HTH
    Mike

  • How do I search for adjacent words within MS WORD?

    I am new to Mac. I need to search WITHIN MS Word Documents for specific phrases. Example: Jim is a good boy. Spotlight will find all documents containing those 5 words, but not those 5 words together. There has to be a way...
    MacBook   Mac OS X (10.4.8)  

    First, thanks, I did. My naive take is that new plug-ins wouldn't be required.
    Second - I don't know about Google finding every document, but it returns some pretty impressive results, and fast (so long as Google indexes the page in the first place of course). You've never used this feature? I do it all the time when I want to see if there's an internet version of a document I have in my hand.
    Here's a random example the feature in action - I went to boingboing.net and snagged a phrase from the October archives: "You should give props to BabyStyle.com for the blue octopus costume". Here's the link to the October page:
    http://boingboing.net/200610_01archive.html
    and here's the link to the successful Google search:
    http://www.google.com/search?num=50&hl=en&lr=&safe=off&c2coff=1&client=firefox-a &rls=org.mozilla%3Aen-US%3Aofficial&q=%22Youshould+give+props+to+BabyStyle.com+for+the+blue+octopuscostume%22&btnG=Search
    Pretty impressive - the internet is a big place!
    Thirdly, there was a program written for OS 9 called "Gopher" that did just that. It was pretty handy. Come to think of it, it may have been written for System 8! It vanished from publication before there was even a web for it to be distributed on, and when I switched to OS X, it wasn't working well under 9. Of course outside of the personal computing realm, there are well known database programs like Lexis and Nexis that perform exact phrase searches on their databases, which are pretty extensive (at least as large as most document collections on most personal computers, I'd venture). In fact if you've never used those programs they have some pretty powerful functions, like searching for any occurrence of a word within so many words of a second target word.
    I'll give you a couple of examples of where phrase searching might come in handy. Suppose I have a collection of e-mails or correspondence (I guess we all do) and I want to find the one in which I facetiously repeated the punchline to the chicken joke - "to get to the other side". (You have to grant I might have a reason for wanting this particular e-mail, okay?) Of course if I search on "get", "other" and "side" I may wind up with four or five hundred results; those are pretty common words. That doesn't help me much. A phrase search,however, will yield, I dunno, three or four documents. Bingo.
    Or, here. I work in an office creating documents all day long. I've been working in this office, on PCs, for 16 years. That's a lot of documents. I may create three dozen or more on a single subject. The documents are all on the same subject and all pretty much have the same words in them. Maybe I've got a single paragraph printed from one of them and want to find the source document. A simple word search will yield back 80% of the lot. A phrase search typed in from the paragraph is almost certainly unique, however, and will give me my document in a blink.
    (Um, I'd have to move all the documents to a Macintosh to do this, but you get the point I hope.)
    Spotlight says it finds "anything anywhere" on your computer. I would use a feature like this *all the time*. Why shouldn't it be able to do it?

  • How can javahelp search with Thai word ?

    I write java App and use javahelp. I found problem in javahelp can not search in Thai word. Anybody help me please.

    Thai word is Thai Language or Thai Font, sir.

  • How can I search for multiple words (not a phrase, but different words) all at once?

    Hello everyone,
    I have a job that includes looking for many different words in large paragraphs. I would make things much faster for me if - instead of typing in "word 1", and then clearing it, and then typing in "word 2" - but rather, I could somehow search for a few words at once. Is there a way to do this? An add-on? Something built in?
    Thanks for the help.

    Try this add-on [https://addons.mozilla.org/it/firefox/addon/find-all/ Find All]

  • How to easy search option MS Word file in windows 7 professional

    hii, There is one user have windows 7 professional PC. He want that easy search MS word file in his PC. Regards Dheeraj

    Is there a reason the user can't use the Search functions in Windows Explorer? Very easy to use!
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • How do I search for a word within a web page

    I would like to be able to do a search for a pecific within the page currenly viewed in the browser. Is there a way to do that in Firefox?

    Hi JossefPerl,
    Searching on a page is actually really easy. You can just hit ''CTRL + F'' to use the search feature. You should take a look at the Knowledge Base article on [[Searching within a page]] for more information.
    Hopefully this helps!

  • How do I search old Gmail in Lion Mail...?

    In Snow Leopard, I have three Gmail accounts feeding into Mail. When reading my mail, I could just hit delete and it would remove the item from my inbox, but keep it archived automatically. This would allow me to search all my messages, which I do a lot. Now that I have upgraded my iMac and moved to Lion, all of my old messages in Gmail are not included in my search results. I know I need to figure out the Smart mailboxes, but what about the past five years worth of email? I can't go through and catalog all of those messages that were accessible just yesterday. Any ideas?

    Read this Apple Mail set up for gmail: http://mail.google.com/support/bin/answer.py?answer=13275

  • How to use Search plugin functions in your plugin?

    Hi,
    I am developing a plugin which need to add an action for bookmarks. For this I need to search a particular word in the document and the corresponding page number.
    On going through the SDK documentation I came across the Search plugin. There are ways in which your plugin can communicate with the Search plugin. For doing so you need to do the following:
    1. Add HFT of the Search plugin by registering PluginImportReplaceAndRegister.
    2. Add "SrchClls.h" header file.
    I did the following steps and my plugin compiled successfully. But I am not able to understand how will I use the Serach plugin functions to find a word in the document from my plugin?
    Please help.
    Thanks

    The HTML help is spectacularly unhelpful, sometimes giving dozens of unrelated methods when you try to read the section for Search.  But try Search... http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/API_References/Acrobat_API_Ref erence/AV_Layer/Search.html
    It's worth making sure that you understand the difference between "Search" and "Find" functionality in Acrobat, something rather masked in the UI in recent releases.
    Find - looking for a string in the current document. The Search API has no connection to this.
    Search - managing indexes of multiple documents. API provides limited functionality (create/delete/query/search). Search results are not available to the API, they can only be displayed in the UI as a results window.

  • How do I search this forum?

    How do I search or particular topics in this forum? The onlt search field that I see on my page searches the entire SUN site.

    Check it again. Search feature have just been added again !!!
      Alberto

  • How to search for a particular word in a string?

    How to search for a particular word in a string?
    thanks for your help....

    This works fine.
    public class Foo {
        public static void main(String[] args) {
        String s = "Now is the time for all good...";
        String s2 = "the time";
        System.out.println(s.contains(s2));
        System.out.println(s.contains("for al"));
        System.out.println(s.contains("not here"));
    }output:true
    true
    falseYou must have something else wrong in your code.
    JJ

  • How to search for a particular word in a long document?

    How to search for a particular word in a long document?

    What program are you using to read the document?
    Good luck.

  • How to search for a particular word in notes app (ios6)

    Sir,
    I can search for a note but i couldnt search for a particular word in a long note in notes app.
    (ios 6)
    is there a way to do it,or is there any app that has this 'search for word' functionality ?

    thank you for your quick reply sir.
    i am asking for other independent notable apps(not notes app) which has this functionality .

  • How to find a particular word in a textArea

    can anyone tell me how to search for a particular words in a textArea that contains hundreds of sentences by ignoring the space. for example i want to search for the word "book"
    so far i can detect the words with the space included
    if the sentence goes like this
    "hello_this_isMy book" the searched words can be found
    but if the sentece goes like this
    "Hello_this_isMy_booK " the searched words can not be found
    .. can anyone pls tell me how to do this.

    I though you didn't WANT it to be found, your original post isn't clear
    public boolean searchWord(String text, String word){
       boolean wordFound = false; 
       StringTokenizer stkn = new StringTokenizer(text," ");
       while(stkn.hasMoreTokens() ){
          String tmp = stkn.nextToken;
          if(tmp.equals(word)) wordFound = true;
       stkn = new StringTokenizer(text,???);   // fill in the -???- yourself
       while(stkn.hasMoreTokens() ){
          String tmp = stkn.nextToken;
          if(tmp.equals(word)) wordFound = true;
       return wordFound;
    }

  • How to search for a word in an email?

    How to search for a particular word in an email in 'Mail'?

    You can't search through email content using buil-in search
    If you're using Gmail, you can use their native Google Mail app which will allow you to search through body content and server-stored emails.

Maybe you are looking for

  • IDVD problem with Leopard

    I just installed Leopard a week ago and only discovered the "blank screen" problem today when I tried to load iDVD. The problem is NOT my graphic card, nor is it my understanding of HOW to use the program, and I have installed all updates available t

  • PDF color changing when imported into InDesign 6

    I am importing a customers pdf into InDesign 6. When I do the import the color is changing from the original PDF colors. The original color in the pdf is 0/95/100/29 and when imported to InDesign 6 it becomes 21/98/100/12. Is there a setting I need i

  • I have 74k  photo's in my iPhoto trash and crashes when emptying. I have tried deleting the com.apple.iPhoto.plist but still won't empty.

    Hi! I have 74k photo's in my iPhoto trash and it crashes when trying to empty. Clearly it's too much for the system to handle so after researching I downloaded 'Trashit!' which didn't help even if I selected one photo and dragged it to the trashit ic

  • Dual display with one display turned off

    I'm having a problem that I cannot figure out... I run my 21" computer monitor as my primary display. I have my 42" TV as a second display when I play WoW. I'm not running in mirrored mode. The problem I'm trying to resolve is if I decide NOT to play

  • ALE - mass processing

    I am not sure if this is the right plave to post this. I an ABAPer but tasked with some large ALE data migration and need to understand if I can speed things up. For example in BD87 I have 50,000 ADRMAS records at 'Ready to be transferred to App' sta