This tutorial explains how to modify the existing per-bearer-type download rules of an IMAP account.
Create an instance of the CEmailAccounts class.
Obtain the account ID using the TImapAccount class for the IMAP account to be updated.
Create an instance of the CImapSyncDownloadRules class.
Populate the download rules from the central repository (CenRep) using the CEmailAccounts::LoadImapSyncDownloadRules() function by passing the IMAP account ID.
Save the download rules to CenRep using the CEmailAccounts::SaveImapSyncDownloadRulesL() function, passing the IMAP account ID and the newly created rules.
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.