Specifying the Per-Bearer-Type Transport Buffer Size

This tutorial explains how to specify a per-bearer-type transport buffer size for all IMAP accounts.

Note: Before specifying the transport buffer size, see Important considerations.

Procedure

  1. Create an instance of the CEmailAccounts class.

  2. Create an instance of the CImapTransportBufferSizes class.

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

  4. Store the updated CImapTransportBufferSizes setting class to central repository (CenRep) using the CEmailAccounts::SaveImapTransportBufferSizesL() function.