void function ( IMAPMessage arg0 ) { long loc0 = folder . getUID ( arg0 ) ; try { long loc1 = Property . getLong ( Property . Name . MAILBOX_LAST_SEEN_UID ) ; if ( loc0 <= loc1 ) { return ; } } catch ( Exception loc1 ) { } Property . set ( Property . Name . MAILBOX_LAST_SEEN_UID , loc0 ) ; }
update the lastseenuid . lastseenuid must be updated when a new email is processed so that mailboxservice fetches new emails correctly . concode_field_sep String IMAP_USER_KEY concode_elem_sep String IMAP_FOLDER_KEY concode_elem_sep String IMAP_HOST_KEY concode_elem_sep IMAPStore store concode_elem_sep Thread idleThread concode_elem_sep String IMAP_USE_KEY concode_elem_sep IMAPFolder folder concode_elem_sep String IMAP_PASSWORD_KEY concode_elem_sep boolean IMAP_USE_DEFAULT concode_elem_sep String IMAP_FOLDER_DEFAULT concode_elem_sep Cancellable pollingSchedule concode_elem_sep boolean isStopping concode_elem_sep String IMAP_SSL_KEY concode_field_sep void startEmailListener concode_elem_sep void stop concode_elem_sep void start concode_elem_sep Set<String> getMissingKeys concode_elem_sep void startEmailPolling concode_elem_sep IMAPStore connect concode_elem_sep IMAPFolder reopenFolder