diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-36C5768D-896B-521C-B4D2-C41C0AD85F3C.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-36C5768D-896B-521C-B4D2-C41C0AD85F3C.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,35 @@ + + + + + +Modifying +the SNAP Preference +

This tutorial explains how to modify the existing SNAP preference used +by an email account.

+
Procedure
    +
  1. Create an instance of +the CEmailAccounts class.

  2. +
  3. Create an instance of +the CImIAPPreferences class to be used by the email service.

  4. +
  5. Create an instance of +the CIm<protocol>Settings class.

    Where, <protocol> +is either Imap4, Pop3, or Smtp.

  6. +
  7. Populate the CImIAPPreferences class +and the CIm<protocol>Settings class from central repository +(CenRep) using CEmailAccounts ::Load<protocol>SettingsL function.

  8. +
  9. Use the CImIAPPreferences::SetSnap() function +to specify the SNAP to be used for connections.

  10. +
  11. Store the updated settings +classes to CenRep using the CEmailAccounts ::Save<protocol>SettingsL function.

  12. +
All instances of <protocol> in the preceding +steps are either Imap4, Pop3, or Smtp.
+
See also

Bearer +Mobility Overview

+
\ No newline at end of file