Show
Ignore:
Timestamp:
08/03/08 02:00:51 PM (5 months ago)
Author:
octorian
Message:

More UID FETCH code

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/LogicMail/src/org/logicprobe/LogicMail/mail/pop/PopClient.java

    r262 r264  
    246246    } 
    247247 
     248    public FolderMessage[] getNewFolderMessages() throws IOException, MailException { 
     249        int count = MailSettings.getInstance().getGlobalConfig().getRetMsgCount(); 
     250                int msgCount = activeMailbox.getMsgCount(); 
     251        int firstIndex = Math.max(1, msgCount - count); 
     252        return getFolderMessages(firstIndex, activeMailbox.getMsgCount()); 
     253    } 
     254 
    248255    public Message getMessage(FolderMessage folderMessage) throws IOException, MailException { 
    249256        // Figure out the max number of lines