aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/pop3/camel-pop3-store.c7
-rw-r--r--camel/providers/smtp/camel-smtp-provider.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c
index b04817c74c..ff4ca265a1 100644
--- a/camel/providers/pop3/camel-pop3-store.c
+++ b/camel/providers/pop3/camel-pop3-store.c
@@ -227,6 +227,13 @@ query_auth_types (CamelService *service, CamelException *ex)
if (kpop)
ret = g_list_append (ret, &kpop_authtype);
#endif
+
+ if (!ret) {
+ camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE,
+ "Could not connect to POP server on "
+ "%s.", service->url->host);
+ }
+
return ret;
}
diff --git a/camel/providers/smtp/camel-smtp-provider.c b/camel/providers/smtp/camel-smtp-provider.c
index d93b03edc4..c82755d481 100644
--- a/camel/providers/smtp/camel-smtp-provider.c
+++ b/camel/providers/smtp/camel-smtp-provider.c
@@ -32,7 +32,8 @@ static CamelProvider smtp_provider = {
"smtp",
"SMTP",
- "For delivering mail by connecting to a remote mailhub using SMTP.",
+ "For delivering mail by connecting to a remote mailhub using SMTP."
+ "(NOT YET TESTED!)",
0,