diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-6E50BB39-A7F2-5A35-99D5-7F086BF2654D.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-6E50BB39-A7F2-5A35-99D5-7F086BF2654D.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,40 @@ + + + + + +Configuring +Per-Bearer-Type Download Rules +

This tutorial explains how to configure the download rules.

+ Before configuring the download rules, see Important considerations. +
Procedure
    +
  1. Create an instance of +the CEmailAccounts class.

  2. +
  3. Create an instance of +the CImIAPPreferences class that has to be used by the +email service.

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

  6. +
  7. Populate the CImIAPPreferences class +and the CImImap4Settings class from the central repository +using CEmailAccounts::PopulateDefaultImapSettingsL function.

  8. +
  9. Use the CImImapSettings::SetUseDownloadSyncRules function, +and set the TBool parameter to either of the following +value:

      +
    • ETrue to +enable download rules.

    • +
    • EFalse to +disable download rules.

    • +
  10. +
  11. Store the updated settings +classes to central repository (CenRep) using the CEmailAccounts::SaveImapSyncDownloadRulesL() function.

  12. +
+
See also

Bearer +Mobility Overview

+
\ No newline at end of file