tags:

views:

66

answers:

0

I have an IMAP server which creates mailboxes (folders) dynamically, and I'm having trouble getting the iPhone's IMAP client to refresh them. It normally sends a LIST command when it first logs in, but then it won't send another until you exit the Mail app a couple times and/or go back and forth to the account listing screen a couple times.

I tried sending unsolicited LIST responses like:

* LIST () "/" "Saved Searches/something cool"

But the iPhone seems to ignore them. I added NOTIFY to my server's capabilities, but the iPhone doesn't seem to care about that. I also tried an unsolicited CREATE response:

* CREATE completed

Hoping the iPhone would at least re-query the mailboxes, but no luck.