I need a Tip on how to do that

Hi!
I want to programm a Java Pop3-Checker, means a little app running in the systray and checking for new incoming mails in every specified interval of minutes.
So my question is:
How can I notice if there have new messages arrived in the Inbox, and how to mark them after they have been recognized? How are the mails marked if a program like Outlook loads them onto the hdd? I've read on the MailAPI site that Pop3 does not support permanent marking... So how to do that?
Please give me some advice, should I use some Flags.FLAG... to mark them or doesn't that work?
Hope you understand what I mean...
Thanks,
AntiBit

Just want to ask you (all) about the way I should handle this Problem. I have two suggestions, assuming a white-letter-TrayIcon means NO NEW MAIL's and a green LetterIcon means GOT NEW MAIL:
1.)
- TrayIcon displays white letter.
- Mail arrives, App. checks it (and it's UID) --> displays green letter.
- UID of new mail is saved
- ASSUME: Noone downloads the mail from server with his Mail-Client, means it's still unviewed on the server.
- App checks again, finds the same E-Mail on server, checks the UID --> the UID is NOT new --> Change to WhiteLetter-Icon.
Not a good way, eh?
2.)
- Tray is WhiteLetter
- New Mail Arrives (NO UID saving)
- App checks it --> Green Letter
- ASSUME: Noone downloads the mail from server
- App checks again, finds the same E-Mail again but Mail-on-Server is Mail-on-Server --> so the GreenLetter-Icon remains
- ASSUME: Someone's downloading the mail by viewing
- No mail anymore on server --> WhiteLetter-Icon
Is that better?
These are the only two ways I can see to handle this issue.-
If someone has another idea - I appreciate any comments!!
Thanks,
AntiBit

Similar Messages

  • I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the bad template with a blank.

    I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the unwanted template with a blank. It was previously possible to go to MY TEMPLATES and remove the unwanted templates. I don't if this issue is before or since installation of 10.8 (a nightmare in my case, which led to significant failure issues).  And because I haven't tried to remove templates since finally managing to install 10.8 (now at 10.8.4), I don't know if this is typical of the newer OS or a problem. I've been a Mac user for more than 25 years, but I think I'm nearing the end of the road. By the way, I've never needed to do this before because the manuals always offered an answer... they don't seem to do that anymore. In any case, I don't know how this works... I'd prefer an email reply if that's possible. But that would probably be too easy, and I don't know how to get a reply.

    Thanks, I appreciate the help.  I think this is one of the problems Apple is creating by changing the OS so often. I had fomer colleagues at [a major aerospace contractor] who told me that so many original files were ultimately lost because of the deadly change in the "Save As" operation that they are now afraid of every OS update. Apple has badly damaged their support base with that very prominent company (they won't update now until they've fully examined and understand changes in the pre-conditioned nature of OS computer functions), and they are a whole lot less enthaled with Mac-related equipment/software. Can't blame them, I too used orginal files that way (as easy-to-use templates), and lost some important files before I realized what was happening (to late to revert). Companies should not have to retrain employees each time an OS gets an update, it's can be very expensive several different ways. They learned a painful lesson with that one. And because I'm now retired and don't use multiple devices, I need iCloud like I need a hole in the head... but I'm told there's no way to keep Apple out of my computer. Fortunately, because of major problems when initially installing Mountain Lion, one hold-over of the hardware/software damage I experienced was that iCloud can no longer access my computer even though everything else is working fine again. That was the only "good luck" I had as a result of that expensive nightmare.

  • How do I put some kind of parental controls on my ipad 2? My 7 year old daughter just purchased, without my permission, $275 worth of in app purchases in Mall Stars game.  Any tips on how to reverse that purchase?

    How do I put some kind of parental controls on my ipad 2? My 7 year old daughter just purchased, without my permission, $275 worth of in app purchases in Mall Stars game.  Any tips on how to reverse that purchase?

    You can also contact itunes support and ask for a refund.
    expresslane.apple.com
    https://expresslane.apple.com/Issues.action

  • How do I get my previous contacts from mobileme now to the icloud? I need help figuring out how to make that transition?

    How do I get my previous contacts from mobileme now to the icloud? I need help figuring out how to make that transition?

    Try using the app My Contacts Backup, which will back up your contacts as an attachment to an email.  Send this email to yourself, open it on your Mac and double-click the attachment to import them to Address Book (or Contacts if you have Mountain Lion).

  • Every time a new message arrives in mail a window pops up saying that os x needs my keychain password: how to stop that?

    every time a new message arrives in mail, a window pops up saying that os x needs my keychain password: how do I stop that infernal nuisance?

    Hopefully this will help you.  Try placing your iPad in recovery mode again.  You may have to try this a few times.
    iOS: Unable to update or restore

  • My  MacBook is not communicating with my desk top to enable printing from my MacBook. I need to find out how to make that happen. I have a static IP address on my desktop but don't know what to do on the Mac Book.

    My MacBook is not connecting to the host computer for the printer. The host computer has a static IP address which is different from the IP address that the laptop is looking for. How do I change the laptop so that it looks for the host computer's correct IP? The laptop is connected to the router. I know this because I can get on the internet with the laptop.

    The host computer is Dell and the operating system is Windows 7.  The printer is an Epson, and it is wired to the host computer with a USB cable. It does have host printing turned on.
    The three have been working harmoniously for a long time.  The router had to be reset; and after that, the MacBook documents would no longer print.
    We created a new static IP address on the Dell but the MacBook is not recognizing it.  We have researched the internet trying to figure out how to make the MacBook locate and recognize the correct IP address from the Dell so they can communicate with each other.  The laptop is not communicating with the host computer because is is looking for the wrong IP.  The host IP is 192.168.1.245 and the laptop is looking for 192.168.15.237.
    I hope everything is clear.  The person who originally set it up is no longer available to help me.  Thank you for any help you may give me.

  • I have PS Elements 11 which came preloaded on my Toshiba laptop.  I want to be able to use it on my desktop and need help in understanding how to do that.

    I have PS Elements 11 that came with my Toshiba laptop and I now want to use it on my desktop.  How can I get a copy of the program on to my desktop?

    Do you know your serial number? Then just download it and install it:
    Download Photoshop Elements products | 11, 10

  • I have a Macbook Pro 15" that is three and a half years old.  Although it has slowed a bit, it still runs well and runs every program I need. Any tips for how to keep this old computer running well and in good health?

    I have a Macbook Pro 15" that is three and a half years old.  Although it has slowed a bit, it still runs well and runs every program I need. Any tips for how to keep this old computer running well and in good health?
    I have a 250 gig drive and try to keep at least 100 gigs unused at all times, 4 GB 667 MHz DDR2 SDRAM memory, back up with Time Machine and CrashPlan, and have OS X 10.7.3.
    This was my first Mac since an old Apple II GS.  After that I used PC's and got really good at reformatting, replacing drives, reinstalling, defragging, resolving software conflicts, etc.  Since switching back to Macs (five in my extended family now), I haven't had to do any of those things. So, although, the cost is three times as much, the aggrevation has been ten times less.
    I'm retired and living on a fixed income and would therefore like to keep this computer running as opposed to constatntly upgrading.
    That said, any tips?
    Thanks
    It does have a crack on the left of the screen case about 3/4'' up from the bottom.  I've posted that as another question.

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. Drive Genius provides additional tools not found in Disk Warrior.  Versions 1.5.1 and later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Adding more RAM, if feasible, and a new, faster hard drive may also help pep it up a little.

  • Embedding (not linking) videos in keynote, Then exporting as Powerpoint (mostly PC users) so they can use from a jumpdrive without needing internet connection.  Instructions/tips on how to accomplish This?

    I'd love your advice/guidance!!  I need to embed (not link) videos in a Powerpoint doc so that anyone (mostly PC users)can open and use from a jumpdrive without needing internet connection. I was considering using keynote and exporting as a PPT.
    Or is there a way to do this in a newer version of Powerpoint? (i'd rather stick with keynote) what would that be the best option?
    Any Instructions/tips on how to accomplish this? Thank you in advance for taking the time!
    I have an old version of PPT on my g5 tiger tower. (microsoft office version doens't owrk on the macbook pro.)
    i have iWork09 on both computers.

    I'd love your advice/guidance!!  I need to embed (not link) videos in a Powerpoint doc so that anyone (mostly PC users)can open and use from a jumpdrive without needing internet connection. I was considering using keynote and exporting as a PPT.
    Or is there a way to do this in a newer version of Powerpoint? (i'd rather stick with keynote) what would that be the best option?
    Any Instructions/tips on how to accomplish this? Thank you in advance for taking the time!
    I have an old version of PPT on my g5 tiger tower. (microsoft office version doens't owrk on the macbook pro.)
    i have iWork09 on both computers.

  • HT204053 hi there. my phone was stolen and i have heaps of notes that i need to access, but i'm not able to access my notes via the cloud, any tips on how to do this? thanks

    hi there. my phone was stolen and i have heaps of notes that i need to access, but i'm not able to access my notes via the cloud, any tips on how to do this? thanks

    i'm not able to access my notes via the cloud
    If your notes sync with your icloud account, you can access them at www.icloud.com

  • I need to find out how to transfer all the music from my old IPOD to my new IPOD.  Not all of my music was purchased on ITUNES.

    I need to find out how to transfer all my music from my original IPOD nano to my new IPOD nano.   I want to keep both and not all of my music was purchased on ITUNES.  Please help!

    Your music should be in your iTunes library, that is how it gets synced to the iPod. If that music is not present in the iTunes library, you will need to get a 3rd party software for the computer to get the music off the original iPod and then move it to the iTunes library to be able to sync it to the new iPod. You can see some additional information in this tip supplied by a fellow user. Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Tips on how to speed up preview/debug build time?

    I am building an air2.5 application and I am still learning the finer details of Flash.
    Our project has a number of images and sounds, and the file size is starting to get up there, but nothing that we are worried about for our end product.
    However, every time I try to run the program by using CTRL+Enter or CTRL+SHIFT+Enter (which I use ALOT), it takes FOREVER to "exporting SWF movie" (like 3 minutes every time) and I suspect as the project continues to grow and more assets are added, it will get signfigantly worse.
    I've tried to disable the "compress move" option in the publish settings, but it made no difference.
    All my images and sounds have been setup as classes so i can reference them through my as files and flash code, I rarely do anything "on the stage". Alost all my sounds are wav files (for the moment) and the images are PNG's (as I need the alpha channels)
    The only thing that I was able to think of is making the graphics and sound assets in some kind of pre-compiled library that doesn't have to get compressed and compiled every tiem I try to debug, only I haven't a clue how to do that, or if it's possible.
    Does anyone know of any ways to improve the build time for debugging and such?
    Or anyone have any tips and tricks/do's and don'ts when it comes to this kind of thing?
    Thanks.

    the SWC thing may be exactly what I need.
    I read that link you gave me and I will definately do a little more research on SWC, even if it's not completely clear how to use them at this particular moment.
    let's say I have an image called MyImage.png which I have setup to export for actionscript on frame 1 and the class is called "MyImage"
    Assume I have the same thing setup in my library for a sound file called "MySound"
    Now, without doing any reading first, I would assume that I would create a new fla file, put those 2 assets in said fla's library and then compile that fla into an swc? And then access thoughs assets in my main project by importing the swc into it? or it is more simple than that?
    Cheers
    Dave

  • Reinstalling AE and PP due to an error with dynamic link. Where do i find the program install? And tips on how to reinstall without messing things up? last question is, does my recent files and saves work after the reinstall?

    I have allready bought the programs, but need to reinstall AE and PP due to an error with dynamic link.
    Where do i find the program install?
    And tips on how to reinstall without messing things up?
    last question is, does my recent files and saves work after the reinstall?
    Thank you

    karianne wrote:
    I have allready bought the programs, but need to reinstall AE and PP due to an error with dynamic link.
    Where do i find the program install?
    Which versions? Which operating system?
    Try Download and Installation Help

  • Tried unsuccessfully to restore my MBP, running the Mac OSX Lion, to factory settings. I keep getting the "can't download additional components for the Mac OSX Lion" error when reinstalling the OSX Lion. Any tips on how to resolve this problem?

    Hello! Tried unsuccessfully to restore my MBP, running the Mac OSX Lion, to factory settings. I keep getting the "can't download additional components for the Mac OSX Lion" error when reinstalling the OSX Lion. Any tips on how to resolve this problem?

    Hi
    Given that your answer to 1. is 'pre-installed' and 3. is 'No', I think the only thing to do is to take it to an Apple store (ideally the one you bought it from) and have them reinstall it for you.
    The intended solution in cases like yours is that you should be able to reboot and install even a wiped disk by using Apple's servers over the internet (you do this by restarting with 'command-r' and choosing 'reinstall Lion'). However if this isn't working for you then you need to get the store to do it. Don't let them fob you off with 'go home and try again'. Have them do it in the shop (you're still covered by Applecare warranty so it should cost you nothing save the inconvenience of the trip and possibly leaving the machine there while they fix it).
    A reinstall should leave all your own personal data and programs in place.
    Note for future: when you get it fixed, first thing to do is buy a cheap external drive and start keeping a backup (either Time Machine or clone with Carbon Copy Cloner).
    Message was edited by: softwater

  • I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically. Can some one out there help me?

    I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.

    Update automatically under which circumstances, exactly?

Maybe you are looking for

  • Screen sharing doesn't work in Yosemite

    Screen sharing gives this message on my iMac : Process:           Screen Sharing [46463] Path:              /Volumes/*/Screen Sharing.app/Contents/MacOS/Screen Sharing Identifier:        com.apple.ScreenSharing Version:           Build Info:        R

  • Custom process type

    Hi, I am trying to implement an abap program based on the status of which i want to get the status. The process type needs to be similar to the abap program so that i can use a variant with the abap program. I tried creating a copy of the abap progra

  • Tuxedo with XA connection on Oracle 8.1.6  on HPUX 11

    Hello, I search informations (references, problems, experiences, tests ...) on a configuration with tuxedo with xa connection on oracle 8.1.6 with cobol programs. Thanks

  • Sincronization from AD to OID doen't work

    Hi all, I configured my Oracle 10g (9.0.4.1.0) Application Server to sincronization the AD with the OID as specified in http://www.oracle.com/technology/products/oid/oidhtml/sec_idm_training/html_masters/basics02.htm I tried a lot of times but it alw

  • How do I edit the maximum width of the bookmarks to see more characters?

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/803166]'' I have many bookmarks with more characters than FF can display. So I want to make the width of the Bookmark menus wider.