diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-ADAD07E4-3539-52DC-B117-7078B3045B74.dita --- a/Symbian3/PDK/Source/GUID-ADAD07E4-3539-52DC-B117-7078B3045B74.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-ADAD07E4-3539-52DC-B117-7078B3045B74.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,44 +1,44 @@ - - - - - -Defining -the SNAP Preference -

This tutorial explains how to define the SNAP preference to be used by -an email account.

- -
Required background

Before you configure an email -account to support bearer mobility, you have to define the SNAP preference -for an email account. To define SNAP preference, complete the following steps:

-
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. Use the CImIAPPreferences::SetSnap() function -to specify the SNAP to be used for connections.

  6. -
  7. Create an instance of -the CImSmtpSettings class, and populate with required access -settings

  8. -
  9. Create an instance of -the CIm<protocol>Settings class, and populate with required -access settings.

    Where, <protocol> is either Imap4 or Pop3.

  10. -
  11. Create the associated -IMAP4, POP3, or SMTP accounts in the central repository using the appropriate CEmailAccounts ::Create<protocol>AccountL() function.

  12. -
All instances of <protocol> in the preceding steps are either Imap4, Pop3, -or Smtp.
- -
Result

An instance of one of the derived classes -is used with an instance of CImIAPPreferences to configure -an email account. These are stored and retrieved from the central repository -through the CEmailAccounts ::Save<protocol>SettingsL function.

-
See also

Bearer -Mobility Overview

+ + + + + +Defining +the SNAP Preference +

This tutorial explains how to define the SNAP preference to be used by +an email account.

+ +
Required background

Before you configure an email +account to support bearer mobility, you have to define the SNAP preference +for an email account. To define SNAP preference, complete the following steps:

+
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. Use the CImIAPPreferences::SetSnap() function +to specify the SNAP to be used for connections.

  6. +
  7. Create an instance of +the CImSmtpSettings class, and populate with required access +settings

  8. +
  9. Create an instance of +the CIm<protocol>Settings class, and populate with required +access settings.

    Where, <protocol> is either Imap4 or Pop3.

  10. +
  11. Create the associated +IMAP4, POP3, or SMTP accounts in the central repository using the appropriate CEmailAccounts ::Create<protocol>AccountL() function.

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

An instance of one of the derived classes +is used with an instance of CImIAPPreferences to configure +an email account. These are stored and retrieved from the central repository +through the CEmailAccounts ::Save<protocol>SettingsL function.

+
See also

Bearer +Mobility Overview

\ No newline at end of file