5 ms·
I'm guessing iOS doesn't support the 16 year old and widely supported IMAP IDLE extension that provides push notifications? Because GMail does: mike@laptop:~
by mike-cardwell 13y ago
I'm guessing iOS doesn't support the 16 year old and widely supported IMAP IDLE extension that provides push notifications? Because GMail does:
mike@laptop:~$ openssl s_client -quiet -connect imap.gmail.com:993 -crlf
depth=1 C = US, O = Google Inc, CN = Google Internet Authority
verify error:num=20:unable to get local issuer certificate
verify return:0
* OK Gimap ready for requests from 5.68.43.84 iz11if3450779wic.18
1 LOGIN ********@googlemail.com ******************
* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH
1 OK ********@googlemail.com **** **** authenticated (Success)
2 EXAMINE INBOX
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded $label1 $MDNSent JunkRecorded $NotJunk NonJunk $Junk Junk)
* OK [PERMANENTFLAGS ()] Flags permitted.
* OK [UIDVALIDITY 596417035] UIDs valid.
* 44 EXISTS
* 0 RECENT
* OK [UIDNEXT 548] Predicted next UID.
* OK [HIGHESTMODSEQ 25348]
2 OK [READ-ONLY] INBOX selected. (Success)
3 IDLE
+ idling
I'm pretty sure every desktop IMAP client supports it too. And K-9 Mail on my Android phone does too.
- rcsorensen 13y agoThat requires a constant internet connection, which can be hard to come by on mobile devices. Edit: Thanks folks. Looks like I was wrong about APN being pulled up over cellular messaging when there was data to transmit.
- mike-cardwell 13y agoWell, seeing as I can only download the emails when I have an Internet connection, I'm happy to only be notified that there are new emails waiting when I have an Internet connection too...
- Steko 13y ago[1] indicates the battery loss may be significant: if you are using server-side filtering to filter emails into different folders and you want ‘push notifications’ and instant downloads for all of those folders, then there needs to be a separate TCP connection for each of those folders being monitored. On a mobile device, this can cause excessive battery usage if more than a few folders are being monitored. [1] http://emailganizer.goodhumans.net/2012/10/01/activesync-push-imap-idle-apple-push-notifications/ http://emailganizer.goodhumans.net/2012/10/01/activesync-pus...
- eggnet 13y agoI suspect IMAP IDLE is essentially identical to iOS push notifications. You connect, get a list of messages since the last time you were disconnected, then switch to an idle state where new notifications come in real time. If the tcp session is severed, you have to reconnect, rinse and repeat with both IMAP IDLE and iOS push notifications. I'm partly guessing here, but I'm not sure how it could work any other way.
- randomdata 13y agoSave for the Messages app, that is no different than any other push notification system available on the device. The Exchange protocol that Gmail was using up to this point essentially works the same way that IDLE does.
- teilo 13y agoCorrect. iOS does not support IDLE. IDLE requires a background process running continuously, which is not possible in iOS except in specific circumstances.
- deleted 13y ago[deleted]
- eggnet 13y agoI believe one of those specific circumstances includes iOS's Mail.app when used with Yahoo mail. Why not with gmail?