Massive IMAP problem, multiple iPhones - constant spinning wheel
The problem started for him on a UK 1.1.2 firmware iPhone with an IMAP account. If you start from scratch, manually setup an IMAP account, it will connect and get your messages. However later, you will find that the iPhone email program is constantly showing the spinning wheel at the top of the screen (showing activity), not the symbol at the bottom of the screen. Worse, the battery rapidly runs down (because it is doing constant data transfers), and worse new emails do not reliably get through. This happens whether you are using GPRS, EDGE, or WiFi (does not make a difference). This problem still happens with 1.1.3 firmware. There is so much data transfer happening (or trying to happen) that the phone actually gets quite warm.
This week after a couple of months of owning my own iPhone with 1.1.3 firmware has also started doing the same thing. My main IMAP account is on a totally different server, running a different server application to my friends. However it also seems to happen with GMail accounts (using IMAP).
I am currently at home and I can see my WiFi (AirPort Extreme) base-station showing lots of activity and I know that no other WiFi devices are active so it is purely the iPhone. Turning off the email account stops the problem (and I can then see the WiFi activity stop as well) but that is hardly a solution. Also setting it to manual polling for email helps but again is not a proper solution. It is so bad that sending emails is very difficult as well.
Even though at the iPhone end nothing seems to be coming through, one can see the iPhone as a connected user at the server end (I have access to the servers, obviously not for Gmail though).
My friend has swapped his phone four times at the Apple Store and still has the problem, and as I said mine has started as well. Turning off and on does not help, resetting network settings does not help.
Apple Mail on a Mac (running both Leopard and Tiger), and other IMAP clients have no problems with the same IMAP accounts (for both of us).
Other Internet access like Web, Stock Widget, Weather Widget, even the iTunes WiFi store work fine. It is just email that is broken.
PowerBook G4, Mac OS X (10.4.11)