aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/pop3/camel-pop3-store.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-07 06:59:12 +0800
committerDan Winship <danw@src.gnome.org>2000-05-07 06:59:12 +0800
commit7c90b45149b4a77de70db43a773a92f8977fdf48 (patch)
treec3b77b8b90a2aabeb8fd3c450f3e2623fd5f10a1 /camel/providers/pop3/camel-pop3-store.c
parent8fbd4ab4bd5fdbaa7f126b3f1d733e8dc9e8a958 (diff)
downloadgsoc2013-evolution-7c90b45149b4a77de70db43a773a92f8977fdf48.tar
gsoc2013-evolution-7c90b45149b4a77de70db43a773a92f8977fdf48.tar.gz
gsoc2013-evolution-7c90b45149b4a77de70db43a773a92f8977fdf48.tar.bz2
gsoc2013-evolution-7c90b45149b4a77de70db43a773a92f8977fdf48.tar.lz
gsoc2013-evolution-7c90b45149b4a77de70db43a773a92f8977fdf48.tar.xz
gsoc2013-evolution-7c90b45149b4a77de70db43a773a92f8977fdf48.tar.zst
gsoc2013-evolution-7c90b45149b4a77de70db43a773a92f8977fdf48.zip
A machine which serves neither POP nor KPOP is not a POP server.
* providers/pop3/camel-pop3-store.c (query_auth_types): A machine which serves neither POP nor KPOP is not a POP server. * providers/smtp/camel-smtp-provider.c: Note in the description that this provider is not yet tested. svn path=/trunk/; revision=2843
Diffstat (limited to 'camel/providers/pop3/camel-pop3-store.c')
-rw-r--r--camel/providers/pop3/camel-pop3-store.c7
1 files changed, 7 insertions, 0 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;
}