diff options
Diffstat (limited to 'libemail-engine')
-rw-r--r-- | libemail-engine/e-mail-session-utils.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libemail-engine/e-mail-session-utils.c b/libemail-engine/e-mail-session-utils.c index fb1ce9d6e6..0938caeb33 100644 --- a/libemail-engine/e-mail-session-utils.c +++ b/libemail-engine/e-mail-session-utils.c @@ -541,13 +541,6 @@ mail_session_send_to_thread (GSimpleAsyncResult *simple, return; } - provider = camel_service_get_provider (context->transport); - if ((provider->flags & CAMEL_PROVIDER_IS_REMOTE) != 0 && - !camel_session_get_online (CAMEL_SESSION (session))) { - /* silently ignore */ - return; - } - status = camel_service_get_connection_status (context->transport); if (status != CAMEL_SERVICE_CONNECTED) { did_connect = TRUE; @@ -561,6 +554,8 @@ mail_session_send_to_thread (GSimpleAsyncResult *simple, } } + provider = camel_service_get_provider (context->transport); + if (provider->flags & CAMEL_PROVIDER_DISABLE_SENT_FOLDER) copy_to_sent = FALSE; |