diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-A9DBE9E4-8239-526C-9D57-447DA628EE59.dita --- a/Symbian3/PDK/Source/GUID-A9DBE9E4-8239-526C-9D57-447DA628EE59.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-A9DBE9E4-8239-526C-9D57-447DA628EE59.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,37 +1,37 @@ - - - - - -Deleting -the SNAP Preference -

This tutorial explains how to delete 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::DeleteSnap() function -to delete SNAP preferences that are used for the connection.

  10. -
  11. Specify the IAP preference -by using the existing CImIAPPreferences APIs.

  12. -
  13. Store the updated settings -classes to CenRep using the CEmailAccounts::Save<protocol>SettingsL function.

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

Bearer -Mobility Overview

+ + + + + +Deleting +the SNAP Preference +

This tutorial explains how to delete 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::DeleteSnap() function +to delete SNAP preferences that are used for the connection.

  10. +
  11. Specify the IAP preference +by using the existing CImIAPPreferences APIs.

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

  14. +
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