This tutorial explains how to configure the download rules.
Create an instance of the CEmailAccounts class.
Create an instance of the CImIAPPreferences class that has to be used by the email service.
Create an instance of the CImImap4Settings class.
Populate the CImIAPPreferences class and the CImImap4Settings class from the central repository using CEmailAccounts::PopulateDefaultImapSettingsL function.
Use the CImImapSettings::SetUseDownloadSyncRules function, and set the TBool parameter to either of the following value:
Store the updated settings classes to central repository (CenRep) using the CEmailAccounts::SaveImapSyncDownloadRulesL() function.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.