Has anyone else encountered this problem? (Urgent)

Flags flags = message.getFlags();
Flags.Flag[] sf = flags.getSystemFlags();
int numOfFlags = sf.length;
numOfFlags (sf.length) is always 0. My protocol is IMAP, my MTA is sendmail my OS is RedHat Linux 8.0
I was under the impression that when you get a new mail one of the flags get set automatically. If not, how then do you know which mail is new, which one has been read, which one was replied ... etc?
Thanks - Michael

Did you fetch the profiles?
          // Attributes & Flags for all messages ..
          Message[] msgs = folder.getMessages();
          // Use a suitable FetchProfile
          FetchProfile fp = new FetchProfile();
          fp.add(FetchProfile.Item.ENVELOPE);
          fp.add(FetchProfile.Item.FLAGS);
          fp.add("X-Mailer");
          folder.fetch(msgs, fp);

Similar Messages

  • HT4528 I have to say hello twice before the other party responds. Has anyone else encountered this problem?

    I have to answer twice on an incoming call on my Iphone 5 before the other party responds. Does anyone else encounter this problem?  Thank you.

    When you respond to an incoming call by pressing the green button, your cellular provider may take a second or two to actually get the connection going.
    Instead of saying "Hello" twice, try waiting a second or two until the first "Hello" from when you click the green button.

  • When a try to add a picture to imovie project sometimes a different picture that I have already used keeps showing instead of the current picture that I have selected.  Has anyone else experienced this problem?

    When I try to add a new picture to my Imovie project a different photo that I already used keeps appearing instead of the selected picture.  No matter what I do the same picture keep appearing no matter what other picture I try to use.  Has anyone else encountered this problem?

    Try here:
    iPhone, iPad, iPod touch: Disabling digital camera notification in Windows XP

  • Since installing the latest update of Photoshop CC two days ago, Auto Blend for focus stacking is selecting all pixels from the bottom layer instead of selecting the ones in best focus from each layer. Has anyone else seen this problem?

    I installed the latest update of Photoshop CC two days ago on my Macbook Pro, and now when I try to do focus stacking by opening multiple photos and doing Auto Align and Auto Blend, the blend selects the entire bottom layer instead of selecting the in-focus areas from each layer. I even tried again on a series of images where this worked a week ago and the problem occurs. I have Photoshop on a Windows 8 machine and did not apply this latest update and it works fine. Has anyone else encountered this?

    And since installing this same update, my Photoshop is crashing just after starting.
    Ashutosh.Nigam suggested me in this forum to change the permissions to SLStore & SLCache Folder, but it did not work.
    Ali from french Adobe support told me to delete my Settings files, but it was not enough.
    A girl with no name from the same team told me to update my video card driver, but you know I run the latest Mac OS X version and everything is updated, mademoiselle.
    Stephane sent me a link to a huge page of things to do :
    -  Troubleshoot account-specific fonts, but there wasn't any corrupted font
    - Delete account-specific Adobe cache files but... guess what...
    - Troubleshoot account-specific login items but... yes, that's it, I can see you understand me
    - Reset the access settings on the user account's Library folder... oh god, that was fun, I used the Terminal and sudo commands
    I did all of these things because when I tried to open PhCC in an other admin session, it worked, so that was an incompatibility between my session and PhCC. But, but, but, when I tried again to lauch the app in the second session, it worked fine but refused to quit. Ha ha ha.
    So you can try to delete your Settings files. I wish it'll work for you. If not you can try the long list above... or hope a better answer from the support.
    I didn't change anything but Photoshop on my session and they ensure that the bug is due to my session and not to their update. Strange affair.
    Good luck,
    JLuc

  • When I go to my downloads folder on my dock and click the file all the content shows up but as soon as I go to open it in the finder, I get a blank window. Has anyone else had this problem, if so, How do you fix it.

    When I go to my downloads folder on my dock and click the file all the content shows up but as soon as I go to open it in the finder, I get a blank window. Has anyone else had this problem, if so, How do you fix it. I also cant delete anything from this folder because of it. Any help would be greatly appreciated.

    Hey Allen,
    I am having the same issue here in September.  How did yor situation get resolved.  My iPad Siri works great.  My iPhone 5 Siri has been out of comission (OOC) for almost a month and I am beginning to get a little frustrated since Siri works so well in July....ANY assistance would be highly appreciated... Thanx

  • I have the latest version of Pages 5.2 but I keep getting a message saying I must download the newest version to open my file, has anyone else had this problem?

    I have the latest version of Pages 5.2 but I keep getting a message saying I must download the newest version to open my file, has anyone else had this problem?

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.01 can not open Pages 5.2 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Once opened and saved in Pages 5.2 files can not be opened in Pages 5.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • Have been using Lightroom on my Apple computer for years. Now, ever since upgrading to Apple's  Yosemite operating system I get an error message (150:30) every time I try to open a lightroom file. Has anyone else experienced this problem?  Also how do I s

    Have been using Lightroom on my Apple computer for years. Now, ever since upgrading to Apple's  Yosemite operating system I get an error message (150:30) every time I try to open a lightroom file. Has anyone else experienced this problem?  Also how do I subscribe to Adobe's Premium Support? Every time I've tried (through contact support) I just get taken on an unending loop.

    I think we need a lot more information.
    Exactly what does the message say?
    Exactly what files are you trying to open?
    Exactly how are you trying to open them (what menu command or button or mouse action or keyboard shortcut)?
    And lastly, what version of Lightroom are you using?

  • HT201263 my phone is in recovery mode and wont restore.  instead i receive the error message 1604.  i have used alternative usb cables and am at a loss. has anyone else had this problem?

    Hi,
    my phone is in recovery mode and wont restore.  instead i receive the error message 1604.  i have used alternative usb cables and am at a loss. has anyone else had this problem?

    Hi there hstear93,
    You may find the information in the article below helpful.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    -Griff W. 

  • After updating to 7.0.6 my iphone no longer shows in itunes. However it is recognised by my PC (windows 8) when click on my computer. I have tried reinstalling itunes and making sure the drivers are up to date. Has anyone else had this problem?

    Hi guys. After updating to 7.0.6 my iphone 5s is no longer showing in itunes. Strangley it is recognised by my PC (windows 8) when I click on my computer. I have tried reinstalling itunes and making sure the drivers are up to date, but this has made no difference. Has anyone else had this problem or does anyone have any advice? Thanks

    Device not detected in iTunes for Windows

  • TS3581 iPhone 4S - The XCarlink iPhone/iPod accessory for Mazda Bose autochangers is functioning differently after iOS 5.1. The Shuffle function no longer works. Has anyone else experienced this problem?

    The XCarlink iPhone/iPod accessory for Mazda Bose autochangers is functioning differently after iOS 5.1. The Shuffle function no longer works and it plays Albums or Genius Playlisys only (not self-made playlists). Has anyone else experienced this problem?
    Previously, the iPod function enabled one to see the track that was playing and control playback (such as repeat or shuffle) via the iPhone screen. Now all I see is an "Accessory Connected" message.

    Somewhere in there, is there a question for us, your fellow users in these user to user support forums?

  • McAfee SiteAdvisor is no longer working with my Safari 8.0.  I never had trouble using it with Safari before this latest version.  Has anyone else had this problem?

    McAfee SiteAdvisor is no longer working with my Safari 8.0.  I never had trouble using it with Safari before this latest version.  Has anyone else had this problem?  I contacted McAfee support and they said nobody else is reporting this issue.

    Wow, life is certainly tough for you.
    S***t happens.  That's why there's a warranty.

  • HT4623 i no longer have video capability on my ipad mini after downloading ios7. has anyone else had this problem?

    i no longer have video capability on my ipad mini after downloading ios7. has anyone else had this problem?

    Describe the problem. Won't show videos? Won't take videos? Or other?
    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
     Cheers, Tom

  • I just subscribed to IHome but when it tries to gather information about my music library, I get an error message that my Itunes is not responding and then it shuts down. Has anyone else had this problem?

    I just subscribed to IHome but when it tries to gather information about my music library, I get an error message that my Itunes is not responding and then it shuts down. Has anyone else had this problem?

    Thanks so much but none of that helped.  It was driving me crazy because it would back up another external drive.  I just changed the name of the drive from iPhoto/iTunes Library to Media Libraries and IT WORKED!! I guess for some reason it didn't like the drive being called iPhoto or iTunes ???? I don't understand but I have tried so many solutions and exchanging things out but the name change did it????!!!
    Thank you for your help and replying to this.  Guess I made my own issue!

  • HT1222 Every time I try to install an update for iTunes 11.0.2, I get an error message 103.  Has anyone else had this problem and found a way to fix this?

    Every time I try to install an update for iTunes 11.0.2, I get an error message 103.  Has anyone else had this problem and found a way to fix this?

    I did it the .dmg way alone and has problems with itunes crashing. This is a better way to ensure that there is not anything left behind to cause issues.
    You need to backup your computer then uninstall I-tunes and reinstall itunes.
    Delete iTunes
    Deleting iTunes is not recommended unless you know what you’re doing.
    Launch Terminal from the UTILITIES within Applications
    Type the following commands:
    cd /Applications/
    This brings you into the Applications directory, the next command deletes iTunes itself:
    sudo rm -rf iTunes.app/
    Enter the Administrator password to confirm
    There is no warning or confirmation other than entering the admin password, iTunes will immediately be deleted, effectively uninstalling it from the Mac.
    Deleting the iTunes application will NOT delete the ITUNES or music, and any purchases bought through iTunes will still remain tied to the Apple ID used to originally buy them.
    You can download the newest version from Apple, and running their installer will bring iTunes back to life on your computer.
    http://www.apple.com/itunes/download/

  • When I try to open a document created in Pages, I get an error message saying "[Document Name" can't be opened."  I don't want to lose hours of work; has anyone else encountered this?

    When I try to open a document created in Pages, I get an error message saying "[Document Name" can't be opened."  I don't want to lose hours of work; has anyone else encountered this?

    A few general trouble shooting tips that may apply here:
    1. If you used Software Update to do the OS update(s) to reach 10.6.7, go to http://support.apple.com/downloads/ and download and apply the Mac OS v10.6.7 Combo Updater. The Combo Updater contains some fixes that were not included in the incremental updaters used by Software Update.
    1a. Check that you have the current version of Pages (and of the other iWork applications) installed. All three applications' current version numbers end in .0.5
    2. A common cause of malfunctioning applications is a corrupted preferences file (.plist file). Your Pages '09's plist is at yourname > Library > Preferences > com.apple.iWork.pages.plist
    Quit Pages, locate the file and Drag it to the Desktop (or to the Trash).
    Restart Pages and attempt to open one of the files.
    If all is well, Trash the plist file and empty the Trash.
    If there's no change, AND you've made changes to the Preferences that you wish to keep, drag the file back to its previous location, replacing any new one that has been created.
    Regards,
    Barry

Maybe you are looking for