Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

Messaging: Email: Push Email
Functional Description

Features

Push-IMAP

Qt Extended supports push email for IMAP servers that support the IDLE extension (RFC2177).

Previously Qtmail was limited to synchronizing with IMAP servers when either the user manually checked mail (using the 'Get all mail' menu option) or during periodic polling (if interval checking was enabled). This had the disadvantage that if a user required that they be quickly notified of newly arrived mail (say normally at most a few minutes after the mail arrived) then they would be required to check mail frequently (every few minutes) which could lead to high data charges for users charged on the amount of traffic used.

As Qt Extended supports IMAP IDLE based push email:
1) For IMAP accounts the 'Push enabled' checkbox can be turned on to enable IMAP IDLE based push email.
2) For such accounts a long lived connection to the server of the account is created when the messaging server starts up and an IDLE command is periodically sent to the server to keep the connection open (once every 28 minutes). If the connection cannot be created at startup then errors are logged and another attempt is made when the account is manually checked for mail.
3) This long lived connection is used to monitor the account for newly arrived messsages, in which case standard mail checking for the account is invoked causing all new messages to be retrieved.
4) Alternatively if the server does not support the IMAP IDLE command then errors are logged using the conventional qLog mechanism using the IMAP category.

This support allows Qt Extended device users to be quickly notified of new messages (normally within a few seconds) arriving in IMAP accounts that support the IDLE extension, without the use of excessive (and potentially expensive) network bandwith.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3