Rechercher une page de manuel
mail::ACCOUNT::login.3x
Langue: en
Version: 05/24/2008 (fedora - 04/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
mail::ACCOUNT::login - Open a new mail accountSYNOPSIS
-
#include <libmail/sync.H> mail::ACCOUNT *mail=new mail::ACCOUNT; mail::account::openInfo accountOpenInfo;
- bool ok=mail->login(accountOpenInfo);
-
-
- std::string errmsg=mail->getErrmsg();
-
USAGE
mail::ACCOUNT::login opens a new mail account. The mail account's location is specified by accountOpenInfo. See mail::account::open(3x) for the description of the parameters set by accountOpenInfo.
RETURN CODES AND CALLBACKS
This method returns true if it succeeds, or false if it fails. If the method fails, use mail::ACCOUNT::getErrmsg() to read a brief description of the error.
Note
The object must be destroyed if mail::ACCOUNT::login fails. A new mail::ACCOUNT object must be created for another login attempt.
SEE ALSO
mail::ACCOUNT::logout(3x), mail::loginUrlEncode(3x), mail::setAppCharset(3x).
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre