This tutorial explains how to modify the transport buffer size specifications for a specified bearer type.
Create an instance of the CEmailAccounts class.
Create an instance of the CImapTransportBufferSizes class.
Use the CEmailAccounts::LoadImapTransportBufferSizesL() function to populate the CImapTransportBufferSizes class from the data stored in the central repository (CenRep).
Use the CImapTransportBufferSizes::AddSizesL() function to specify the max retrieve request size and the number of pipelined retrieve operations to use. The bearer types for which these settings are to be used is a bit field, and may specify multiple bearer types. This new setting will replace the existing settings for the specified bearer types.
Use the CEmailAccounts::SaveImapTransportBufferSizesL() function to store the updated CImapTransportBufferSizes setting class to the CenRep.
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.