diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-561C6A82-B9A5-5818-A3E4-EA81426D7640.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-561C6A82-B9A5-5818-A3E4-EA81426D7640.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,32 @@ + + + + + +Modifying +the Per-Bearer-Type Download RulesThis tutorial explains how to modify the existing per-bearer-type +download rules of an IMAP account. +
Procedure
    +
  1. Create an instance of +the CEmailAccounts class.

  2. +
  3. Obtain the account ID +using the TImapAccount class for the IMAP account to be +updated.

  4. +
  5. Create an instance of +the CImapSyncDownloadRules class.

  6. +
  7. Populate the download +rules from the central repository (CenRep) using the CEmailAccounts::LoadImapSyncDownloadRules() function +by passing the IMAP account ID.

  8. +
  9. Save the download rules +to CenRep using the CEmailAccounts::SaveImapSyncDownloadRulesL() function, +passing the IMAP account ID and the newly created rules.

  10. +
+
See also

Bearer +Mobility Overview

+
\ No newline at end of file