I was looking through some old bookmarks and found a long-forgotten plug-in which enabled IMAP Idle support on the mail.app desktop client. The link is here:
Anyone with programming skills want to take a look at this and see if its adaptable for the iPhone?
Keep up the work, I am willing to donate to the cause of getting Push mail that actually works.
Why not just send a command to retrieve new emails when the IDLE signal is catched ?
The instructions for this hack are pretty straightforward and involve creating a folder in the mail.app directory, moving the hack into that folder, then running two commands in terminal. Anyone brave enough to try it on their iPhone? I would, but I'm now running 1.1.1 and can't downgrade for a least a few days (I don't have access to my main mac right now). Would love to find out if this works!
Originally Posted by davpel
i'd be surprised if mobilemail.app support the same plugin architecture as mail.app
It's nice to see some activity here. I'm still waiting for something as robust as ChatterEmail for the iPhone.
For the time being, my "urgent" pager emails that need to be pushed get spam'ed to:
1. my phone, via SMS alert -- this is "ok"
2. I then "pull" the new emails to my iPhone
3. they also get spam'ed to my work/personal email accounts, since I'm usually logged into a computer at work, in case the SMS is busted
The yahoo push email worked like a charm Friday morning.. then nada again... argh.
So there's a few problems I see.
1) Is the phone actually running code when it's "asleep" (the blank screen mode when you hit the side button)
2) IMAP IDLE requires a constant open internet connection, right? That doesn't sound good for battery life nor limited dataplans.
Sleep Mode: not sure, good question.
Data usage with IDLE: I've used ChatterEmail with my Treo 650 for over a year, using IMAP-IDLE for push email (and it is truly push email, within 30-60 seconds) and average 2-3 megs of data per month. It's amazingly efficient.
PLEASE -- someone write an IMAP-IDLE app :)
It's the only missing link for me right now...
With respect to sleep mode, I think the reference to how MobileChat works on Page 1 of this thread might help answer this question.
I'm looking at this now... I'm experimenting with iPhone development and this will be my first plunge into it.
I currently have a crude beginnings of this where I can run an app, it connects to an imap server and places it in IDLE mode. Once an email arrives I can detect this and popup a message that new email has arrived. As I said this is crude and there's alot of things still that need to be worked out such as:
- what to do with notifications. I'd really just like to trigger the mail app to check email and let that handle notifications etc etc
- what happens when wifi or edge connection is lost
- running in background
- a gui
- etc etc
So be patient and I might be able to work something out here. I'm short on time these days so do this when I get a spare few and I'm also trying to get my hands around this new env. Hopefully I can get something out in some form in the near future...