This tutorial explains how to enable the bearer mobility for an email account.
Bearer mobility is possible only on the connections that are established using a SNAP preference list. See Important considerations before enabling the non-seamless bearer mobility.
Create an instance of the CEmailAccounts class.
Create an instance of the CImIAPPreferences class to be used by the email service.
Create an instance of the CIm<protocol>Settings class.
Where, <protocol> is either Imap4, Pop3, or Smtp.
Use the CIm<protocol>Settings:: SetBearerMobility function to set the TBool parameter to ETrue .
Store the updated settings classes to CenRep using the CEmailAccounts ::Save<protocol>IapSettingsL 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.