aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/em-composer-utils.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index edd33ca846..507f12f91b 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -523,7 +523,14 @@ composer_send_completed (GObject *source_object,
g_error_matches (
local_error, CAMEL_SERVICE_ERROR,
CAMEL_SERVICE_ERROR_UNAVAILABLE) ||
- /* a name resolution failed */
+ /* name resolution failed */
+ g_error_matches (
+ local_error, G_RESOLVER_ERROR,
+ G_RESOLVER_ERROR_NOT_FOUND) ||
+ g_error_matches (
+ local_error, G_RESOLVER_ERROR,
+ G_RESOLVER_ERROR_TEMPORARY_FAILURE) ||
+ /* something internal to Camel failed */
g_error_matches (
local_error, CAMEL_SERVICE_ERROR,
CAMEL_SERVICE_ERROR_URL_INVALID);