TnyCamelPOPStoreAccount

TnyCamelPOPStoreAccount — A POP store account type for Camel

Synopsis

                    TnyCamelPOPStoreAccount;
TnyStoreAccount*    tny_camel_pop_store_account_new     (void);
void                tny_camel_pop_store_account_set_leave_messages_on_server
                                                        (TnyCamelPOPStoreAccount *self,
                                                         gboolean enabled);
void                tny_camel_pop_store_account_reconnect
                                                        (TnyCamelPOPStoreAccount *self);

Object Hierarchy

  GObject
   +----TnyCamelAccount
         +----TnyCamelStoreAccount
               +----TnyCamelPOPStoreAccount

Implemented Interfaces

TnyCamelPOPStoreAccount implements TnyAccount, TnyFolderStore and TnyStoreAccount.

Description

A POP TnyStoreAccount implemented using Camel

Details

TnyCamelPOPStoreAccount

typedef struct _TnyCamelPOPStoreAccount TnyCamelPOPStoreAccount;


tny_camel_pop_store_account_new ()

TnyStoreAccount*    tny_camel_pop_store_account_new     (void);

Create a new POP TnyStoreAccount instance implemented for Camel

Returns :

A new POP TnyStoreAccount instance implemented for Camel

tny_camel_pop_store_account_set_leave_messages_on_server ()

void                tny_camel_pop_store_account_set_leave_messages_on_server
                                                        (TnyCamelPOPStoreAccount *self,
                                                         gboolean enabled);

Set whether messages should be left on the server. The initialization value of enabled is TRUE (so by default, messages are left on the server).

self :

a TnyCamelPOPStoreAccount

enabled :

whether to leave messages on the server

tny_camel_pop_store_account_reconnect ()

void                tny_camel_pop_store_account_reconnect
                                                        (TnyCamelPOPStoreAccount *self);

Reconnect to the POP3 service. The reason why this API exists is because certain services (like GMail in 2007) suddenly give you more messages in the LIST result of POP after you disconnected and reconnect.

self :

a TnyCamelPOPStoreAccount instance

See Also

TnyStoreAccount, TnyCamelStoreAccount, TnyPOPFolder, TnyFolder, TnyFolderStore