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/ChangeLog | 8 ++++++++ camel/providers/pop3/camel-pop3-store.c | 7 +++++++ camel/providers/smtp/camel-smtp-provider.c | 3 ++- 3 files changed, 17 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 22ac51f981..b8ce5fae1d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,11 @@ +2000-05-06 Dan Winship + + * 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. + 2000-05-05 NotZed * camel-folder-summary.c: And same here ... 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, -- cgit