From 7c90b45149b4a77de70db43a773a92f8977fdf48 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 6 May 2000 22:59:12 +0000 Subject: 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 --- camel/providers/pop3/camel-pop3-store.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'camel/providers/pop3/camel-pop3-store.c') 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; } -- cgit