How can i move a mail message from INBOX to other Folder

I want to store all the mail messages to some specific folder after read it. i tried it with setFlags but it's not working
Plz suggest any of the option
Thanks in advance ..

i created a folder name as "ShiftedMails" and try the following code:
objFolder.copyMessages (msgs, objFolder.getFolder("ShiftedMails"));
but got the error:
{color:#ff0000}javax.mail.MessagingException: not a directory
at com.sun.mail.pop3.POP3Folder.getFolder(POP3Folder.java:127){color}

Similar Messages

  • 8830..Moving e-mail messages from Inbox to other folder

    On my 8830...When I move e-mail messages from my Inbox to a different folder (under Inbox), they disappear totally from my laptop e-mail rather than mirroring what I did on my BlackBerry.  On the flip side, if I move messages from my Inbox to another folder on my laptop, it does mirror on my BlackBerry.  My e-mail is Outlook 2003, running on my company's Microsoft Exchange Server.  Please help.

    Since you have folders under your Inbox, I can only assume you're on a BES (BlackBerry Enterprise Server) setup receiving your Corporate email.  If that's not the case, I can't figure out how you got folders under your Inbox, and have NO IDEA how you're getting the results you're getting as BIS (BlackBerry Internet Service) email accounts can't have folders!
    You most likely don't have reconciliation enabled for the folders you're moving your email to.
    Go into Messages, hit the [Menu] button and select Options --> Email Settings.  Hit the [Menu] button and select Folder Redirection. 
    You should see your Mailbox at the top with a + to the left of it.  Highlight that line, hit [Menu] --> Expand to display the main folders under your Mailbox.  Your Inbox should appear with a Box next to it either checked or filled in. 
    Highlight Inbox, and again hit [Menu] --> Expand to display the folders under your Inbox.  All the folders under your Inbox, and the boxes are probably unchecked or not "filled in".  Scroll to the folders you want reconciled with your BlackBerry and hit [Space] to check or fill the box next to it.  Use [Menu] --> Expand if there's a + to the left of the box to expand subfolders.
    Once all the folders you want reconciled are checked or filled, hit [Esc] and save.
    Now your email won't dissappear when you move it!  You should also notice in the Messages list that email in folders other than your Inbox have a folder icon rather than an Envelope icon.
    And before you ask...  The BlackBerry does NOT SYNCHRONIZE, it Reconciles.  Email is pushed to the device ONCE, and only changes to the status of messages are transmitted after that.  Moves will only be reflected after you've turned Reconciliation on for a given folder.  BTW - emails you moved that disappeared should have been in your Deleted Items folder.
    Reconciliation rather than Synchronization saves enormously on data transmission ($) as well as Battery life.  Believe me - we have both BlackBerries (Big Wigs only) and Windows Mobile (the rest of the 25,000 peons) devices at my company, and the most common complaint about the Windows devices is battery life, and HUGE costs when the device is overseas!
    Jerry

  • How can I move my old messages from my PC to my new Macbook (not the profile, just the messages)?

    I have used Thunderbird for years as I am a business owner who needs to keep a copy of old emails. I have just changed from a PC to a Macbook pro, and want to move all my old archived messages from the past 2 or 3 years to my Mac, including non-archived messages (Sent & Trash) from this year. I have already created my profile in the new Mac, and have been using it for the past couple of weeks. (By the way, this is a POP mail profile.) Now I just want to move the old messages over. Which exact files do I copy and paste, and into which folders? If the folders do not yet exist, I guess I need to create them first. But where on the Mac? I have found (on my old PC) the "Appdata/Roaming/Thunderbird/Profiles/*.default/Mail/username/ directory with Archives and Trash subdirectories. But each directory seems to have a name (like "Inbox", or "Sent" or "2013") and another file with the same name, but an ".msf" suffix (like "Inbox.msf" or "Sent.msf" or "2013.msf"). Thanks in advance to any who can help.

    The file structure is a little complex. I will use inbox as an example.
    Inbox (a large file with no file extension)
    Inbox.msf ( An index of inbox with tags etc. Can be deleted with only loss of tags)
    Inbox.sdb (a folder, indicating that the folder within Thunderbird has a sub folder.
    POP mail is stored in
    Appdata/Roaming/Thunderbird/Profiles/*.default/Mail/[Server name]/
    Local folder is stored in
    Appdata/Roaming/Thunderbird/Profiles/*.default/Mail/Local Folders/
    As long as you do not overwrite, you can copy and paste whole folder trees into local folders (stuff on your old computer under a mail account is best relocated to local folder and then sorted as necessary afterwards.
    Note that you should delete foldertree.json after making those sorts of copies (it forces a full refresh of the folder tree, no cache) and under no circumstances copy data with Thunderbird running. It can irrevocably corrupt things

  • How Can I Move Individual Mail Messages to Folders Without Dragging Each One?

    In my business, I get a lot of client email.  I also create and store a lot of client documents.  To manage everything, I have created a main folder named "Clients" on my Mac, and have also created a separate subfolder for each individual client to hold both documents and correspondence pertaining to that specific client.  When I want to save an email to that folder, I drag that message to the desktop to then be filed in the individual client's folder.  It's a two step process, but one I've been using successfully for some time.
    This was not such a big deal before Mail became a beautiful full-screen app.  But now, in order to take advantage of Mail's full-screen capabilities, I have to first exit full screen each time I wish to drag a message out of Mail to my desktop.  Then once the message or messages have been dragged out, I have to reenable full-screen.  That's a couple of additional steps and a real nusiance.  I've considered creating a mailbox for each client in Mail, but with hundreds of clients that's really not an option.
    My question is as follows: Is anyone aware of any app, script, or add on available for Mail, that would allow me to either move or copy individual email messages directly to my desktop or to a folder without having to go through exiting and enabling full screen each time?  Perhaps an app or script that offers a dedicated right-click in the context menu?  Or one that offers the "Desktop" as a location in the current right click "Move To" menu?  Or that would create a keyboard shortcut that would accomplish that task?  I've searched online, but have been unable to come up with anything.
    Thanks in advance for your help. Any advice or suggestions you could give would be most appreciated!
    Patrick

    Have you tried dragging the mail from the inbox and dropping it where you want to save it - all in the MAILBOXES sidebar? If you make the sub folders visible, you should be able to deposit the mail wherever you like.

  • I have 528 contacts on my phone, but only 290 on my Icloud how can i move the rest over from my phone to my Icloud nothing is working

    I have 528 contacts on my phone, but only 290 on my Icloud how can i move the rest over from my phone to my Icloud nothing is working

    Go to Settings>iCloud, turn Contacts to Off, choose Delete from My iPhone when prompted (they will still be in iCloud).
    Download the app My Contacts Backup to your phone.  Use this app to backup the remaining contacts on your phone (from your exchange account) as a vCard attachment to an email that you send to yourself.  Confirm that you have received the email on your phone.
    Go to Settings>iCloud and turn Contacts back to On.
    Go to Settings>Mail,Contacts,Calendars>Default Account (in the Contacts section), set this to iCloud.  (This will cause new contacts added to your phone to be added to the iCloud account.)
    Go to Settings>Mail,Contacts,Calendars...tap your exchange account and turn off contacts syncing (otherwise you will end up with duplicates on your phone).
    Open the My Contacts Backup email and tap the attachment to import the contacts from your exchange account back to your phone.  They will be added to iCloud and appear on icloud.com and any other devices syncing contacts with your account.

  • How can I move an icon/file from one screen of my ipad to another?

    How can I move an icon/file from one screen on my ipad to another?

    Press and hold the icon until they start to wiggle. Then while holding it, drag it to the edge of the screen and wait for the page to switch, then let go of the app

  • How can I move an original Version from one Project to another Project?

    How can I move an original Version from one Project to another Project?

    From the Aperture User Manual:
    To move an image into a different project
    Drag the image [from the Browser] into another project in the Library inspector.

  • How can i move my iTunes' library from one mac to another without losing playlist etc???

    how can i move my iTunes' library from one mac to another without losing playlist etc???

    Use migration assistant, email it to the other computer or transfer the file using iChat.

  • How can I move photos in iPhoto from the WEB Photo Stream or WEB Facebook to one of my Events?

    How can I move photos in iPhoto from the WEB Photo Stream or WEB Facebook to one of my Events?

    From PhotoStream either drag the photos form PS to the iPhoto window or set the iPhoto peference to automatically import PS photos
    From Facebook save to isk and import from there
    LN

  • TS2776 How can I transfer e-mail contacts from one IPad to another?

    How can I transfer e-mail contacts from one IPad to another?

    Depends on how big the file is.  If itis only a couple of pages, or mostly text, the easiest way would be to e mail it.  If it is a very large file you are going to need wifi.  Take both pads to starbucks, and e mail it from there.  Or if you have wifi, use drop box, for example. 
    Your other choice, avoiding wifi would be a bluetooth type transfer.  There is an app call bluetooth file lite that reads like it will do what you need.   The good news is it is free.  The bad news is that it has terrible ratings.  For grins, i am installing it now on a pad and a phone, and will see if it works.
    With a bluetooth method, you need both devices in  the same place.  If you are trying to send your file across country, bluetooth will not work for you.  you need e mail or drop box type solution, and if the file is big, you will almost certainly need wifi.

  • How can I move all my bookmarks from different Firefox profiles into one area to organize them and then place them into the different Firefox profiles?

    How can I move all my bookmarks from different Firefox profiles (would like to move whole bookmark folders at once if possible) into one area to organize them and then place them into the different Firefox profiles? This is all under one window user account, I am using windows 8.1. Even if you have information on how to do it on a different windows, it may still be helpful. Thanks for any input you have.

    Just a note about the difference between these two things:
    * "export" and "import" use an ancient HTML document format that all browsers can understand. When you import bookmarks, Firefox may place them into an Imported Bookmarks folder, or into Unsorted Bookmarks. This does not displace existing bookmarks, and Firefox does not automatically remove duplicates.
    * "backup" and "restore" use a more comprehensive JSON data file, which contains extra information about your bookmarks (such as tags) not contained in the traditional export file. HOWEVER, a restore completely replaces all existing bookmarks, so the restore feature cannot be used to merge in a set of additional bookmarks.
    Related support articles:
    * [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    * [[Import Bookmarks from a HTML file]]
    * [[Restore bookmarks from backup or move them to another computer]]
    Some users find the disk-based Windows Favorites folder a convenient way to organize bookmarks. If you do, too, and you do not need to preserve tags on your bookmarks, you could export each profile's bookmarks to HTML and import them all into IE11. Organize them in the Windows Favorites folder, then export from IE11 to HTML and import that file into each Firefox profile. See: [http://windows.microsoft.com/en-us/internet-explorer/add-view-organize-favorites].

  • How can I move someone's hair from one photo to another and place it on another person?

    How can I move someone's hair from one photo to another and place it on another person?

    Duplicate post.

  • How can I move someone's hair from one photo to another and place it on another person? I have gone through every instructional video you have and have not been able to master this

    How can I move someone's hair from one photo to another and place it on another person? I have gone through every instructional video you have and have not been able to master this

    Open picture B, the one you wish to select the hair from to add to the picture.
    Use one of the selection tools, e.g. selection brush, lasso tool, to select the hair. You will see an outline ("marching ants") once the selection is complete
    Go to Edit menu>copy to copy the hair to the clipboard
    Open picture A, then go to Edit>paste
    Use the move tool to position the hair from picture B.
    In the layers palette you should see picture A as the background layer, and the hair (B) on a separate layer.

  • How can I move my iPhoto Library from one Mac to another without losing the comments on the individual photos in the process?

    How can I move my iPhoto Library from one Mac to another without losing the comments on the individual photos in the process? The source Macbook (OS 10.4.11 and iPhoto 6.0.6 (3.2.2.)) is with my husband in Germany, the target MacBook Pro (OS 10.8.5, iPhoto 11) is with me in Japan. Thanks for your help.

    I copied the iPhoto Library to a CD and from there to the new MacBook
    If you copied the library to the CD via the Finder it would be no different than the methods Terence suggested.  If you used the Share ➙ Burn menu option from inside iDVD you'll get a mini library that has to be accessed from the open library and the events/alubums copied into the destination library.  Not the same as the other methods.
    The Share ➙ Burn method is no longer supported with iPhoto 9 and later.
    OT

  • How can I move ex a head from one picture to another?

    Hi
    How can I move ex a head from a picure to another picture? Please help

    In addition to Jeff's great tutorials, here are some video tutorials as well:
    please post back if you have any questions,
    janelle

Maybe you are looking for

  • My itunes stoped working so I deleted it and now I can't get it to load I keep getting an error and to try again

    I got this error while trying to install itunes can anyone help me, I am without itunes on my computer and can't get it to install same error everytime. an error occued during the installation of assembly policy 8.0 Microsoft. VC80.CRT. type="win32.p

  • Grey X icon on PDF files

    I recently installed Reader X on my Windows 7 pc and now when I go to a network share, some of the PDF files are appearing with Grey X's on them.  If I try to open the file, it says access denied. It doesn't seem to present on PDF files newer than 20

  • DB Server on Different subnet

    Hi there, We have SP 2010 installed, we are planning to upgrade to 2013. Our database server is on the different subnet that the new SharePoint 2013 Fron-end and application server. Office Web App server is also on different subnet. We have single ne

  • Final Cut Studio on Intel PowerMacs?

    I am planning on eventually upgrading to a top of the line PowerMac for editing using Final Cut Studio (which I currently own and run on my PowerBook), but I have a few questions that I need to figure out before making a decision on what to get and w

  • Create a report from scratch, add Table and Datasource Problem

    Hi, I'm using the latest Crystal Reports Runtime supplied for eclipse. I want to create a report from scratch, add a Table and then add a ArrayList of Pojos as the Datasource. But unfortunately depending on the ConnectionInfo I supply to the Table I