problem with huge INBOX
2 posts in topic
Flat View  Flat View

Posted By:   seelam_venkatesh
Posted On:   Thursday, November 6, 2003 01:29 AM


Hi friends,

This is venkatesh ... We are developing one email site
for that we are using James email server and
javamail API. Every thing works fine,but the
problem is, my INBOX contains more than 2000
emails, when I try to open INBOX it is taking lot

of time. even I try to read 20 emails per page.

I need advice from you....

venkatesh Seelam

Re: problem with huge INBOX

Posted By:   Anonymous  
Posted On:   Thursday, November 6, 2003 02:18 PM

could you be more elaborate on this.

like wat other information you are showning while showing 20 mail per page.

according to me u would be showing the subject , date, from and size of each mail.

apart from this you would be displaying new messages count in inbox.

trying putting these solutions.

FetchProfile fp = new FetchProfile();


currentFolder.fetch(msgs, fp);

try not to use folder.getUnreadMessageCount() for checking new Mails again and again.

becoz this method internally scans all the mail in ur inbox and check for unseen flag.

and make sure that you reading only 20 mails and not 2000 mails all at once.

Re: problem with huge INBOX

Posted By:   Christopher_Koenigsberg  
Posted On:   Thursday, November 6, 2003 05:59 AM

So, make a "saved" folder, and move your messages out of your INBOX into there, or delete them (I know, this is a lot of work, deciding what to keep and what to delete, which is why many people avoid doing it...).

About | Sitemap | Contact