diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-07 06:59:12 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-07 06:59:12 +0800 |
commit | 7c90b45149b4a77de70db43a773a92f8977fdf48 (patch) | |
tree | c3b77b8b90a2aabeb8fd3c450f3e2623fd5f10a1 /camel | |
parent | 8fbd4ab4bd5fdbaa7f126b3f1d733e8dc9e8a958 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | camel/ChangeLog | 8 | ||||
-rw-r--r-- | camel/providers/pop3/camel-pop3-store.c | 7 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-provider.c | 3 |
3 files changed, 17 insertions, 1 deletions
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 <danw@helixcode.com> + + * 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 <NotZed@HelixCode.com> * 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, |