Deleting the Transport Buffer Size Specifications for a Specified Bearer Type

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

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. Call the CImapTransportBufferSizes::DeleteBearerTypesL() function specifying the bearer types for which rules are to be removed.

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