![]() |
![]() |
![]() |
Reference Manual of the tinymail framework | ![]() |
---|---|---|---|---|
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);
GObject +----TnyCamelAccount +----TnyCamelStoreAccount +----TnyCamelPOPStoreAccount
TnyCamelPOPStoreAccount implements TnyFolderStore, TnyAccount and TnyStoreAccount.
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 |
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 |
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 |