Symbian3/PDK/Source/GUID-561C6A82-B9A5-5818-A3E4-EA81426D7640.dita
changeset 1 25a17d01db0c
child 3 46218c8b8afa
equal deleted inserted replaced
0:89d6a7a84779 1:25a17d01db0c
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-561C6A82-B9A5-5818-A3E4-EA81426D7640" xml:lang="en"><title>Modifying
       
    13 the Per-Bearer-Type Download Rules</title><shortdesc>This tutorial explains how to modify the existing per-bearer-type
       
    14 download rules of an IMAP account. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    15 <section><title>Procedure</title> <ol id="GUID-D52E4CAE-B8EA-5DDC-ADCA-763257799C6B">
       
    16 <li id="GUID-B3B4603B-E5BE-545B-9AB1-F2473A877B77"><p>Create an instance of
       
    17 the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita"><apiname>CEmailAccounts</apiname></xref> class. </p> </li>
       
    18 <li id="GUID-CA722CD2-8B72-535E-A68C-FA2A782900A2"><p>Obtain the account ID
       
    19 using the <xref href="GUID-12FC6AC7-8946-324D-B2B7-60B332870794.dita"><apiname>TImapAccount</apiname></xref> class for the IMAP account to be
       
    20 updated. </p> </li>
       
    21 <li id="GUID-C3E018EC-4B76-5FB5-8B4B-BC58C0397210"><p>Create an instance of
       
    22 the <xref href="GUID-1838902F-9077-36D8-AD22-5E36E0AFD51D.dita"><apiname>CImapSyncDownloadRules</apiname></xref> class. </p> </li>
       
    23 <li id="GUID-FC79AE93-BD8E-5755-B24E-448523D3183F"><p>Populate the download
       
    24 rules from the central repository (CenRep) using the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita#GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE/GUID-B6E3268D-504C-3401-A3A8-7DCC6D48AAAC"><apiname>CEmailAccounts::LoadImapSyncDownloadRules()</apiname></xref> function
       
    25 by passing the IMAP account ID. </p> </li>
       
    26 <li id="GUID-5AF395DB-C50D-5439-8697-D41131EA606F"><p>Save the download rules
       
    27 to CenRep using the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita#GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE/GUID-F1368103-522C-3CFD-9448-0C7000CFEC3C"><apiname>CEmailAccounts::SaveImapSyncDownloadRulesL()</apiname></xref> function,
       
    28 passing the IMAP account ID and the newly created rules. </p> </li>
       
    29 </ol> </section>
       
    30 <section><title>See also</title> <p> <xref href="GUID-24860917-0FE2-5C8F-B436-96928350996E.dita">Bearer
       
    31 Mobility Overview</xref>  </p> </section>
       
    32 </conbody></concept>