Email Application Issue
Posted: Tue Sep 08, 2009 12:07 pm
I am developing email application that will fetch mails from gmail, yahoo, hotmail etc. I am using imap function to fetch emails from gmail, yahoo etc. However while fetching I am getting only 200 mails or something as mail count, even though I have thousands of mails in my gmail account. May I know how to fetch all my mails using imap or pop3 classes.
And also how to fetch all users emails periodically. I am using crontab to fetch emails but single cron takes lot of time to fetch so other users will not wait until cron downloads the emails. If I make individual cron for each and every user then server will be very slow. Is there any alternative way to fix this issue. Thanks for all your help in advance!
And also how to fetch all users emails periodically. I am using crontab to fetch emails but single cron takes lot of time to fetch so other users will not wait until cron downloads the emails. If I make individual cron for each and every user then server will be very slow. Is there any alternative way to fix this issue. Thanks for all your help in advance!