This tutorial explains how to specify a per-bearer-type transport buffer size for all IMAP accounts.
Create an instance of the CEmailAccounts class.
Create an instance of the CImapTransportBufferSizes class.
Use the CImapTransportBufferSizes::AddSizesL() function to specify the max retrieve request size and the number of retrieve operations to use.
Note: The bearer types for which the preceding settings are to be used is a bit field, and may specify multiple bearer types.
Store the updated CImapTransportBufferSizes setting class to central repository (CenRep) using the CEmailAccounts::SaveImapTransportBufferSizesL() 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.