Modifying the Transport Buffer Size Specifications for a Specified Bearer Type

This tutorial explains how to modify the transport buffer size specifications for a specified bearer type.

Note: Before modifying the transport buffer size specifications for a specified bearer type, see Important considerations.

Procedure

  1. Create an instance of the CEmailAccounts class.

  2. Create an instance of the CImapTransportBufferSizes class.

  3. Use the CEmailAccounts::LoadImapTransportBufferSizesL() function to populate the CImapTransportBufferSizes class from the data stored in the central repository (CenRep).

  4. 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.

  5. Use the CEmailAccounts::SaveImapTransportBufferSizesL() function to store the updated CImapTransportBufferSizes setting class to the CenRep.