aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-offline-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-offline-handler.c')
-rw-r--r--mail/mail-offline-handler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-offline-handler.c b/mail/mail-offline-handler.c
index d26f2a6a86..ba33ee7d2c 100644
--- a/mail/mail-offline-handler.c
+++ b/mail/mail-offline-handler.c
@@ -170,6 +170,9 @@ impl_goOnline (PortableServer_Servant servant,
offline_handler = MAIL_OFFLINE_HANDLER (bonobo_object_from_servant (servant));
priv = offline_handler->priv;
+ /* Enable auto-mail-checking */
+ camel_session_set_online (session, TRUE);
+
mail_storages_foreach (storage_go_online, NULL);
}