diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-03 03:37:02 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-03 03:37:02 +0800 |
commit | 953526bb921dfa13a1fbd90b04651592e048ab36 (patch) | |
tree | 1fc935e92dba6141c4d0f4ec95817ebb867b974f /camel | |
parent | cc1623fa891df4bbec06b08bf8759558c69e7ccb (diff) | |
download | gsoc2013-evolution-953526bb921dfa13a1fbd90b04651592e048ab36.tar gsoc2013-evolution-953526bb921dfa13a1fbd90b04651592e048ab36.tar.gz gsoc2013-evolution-953526bb921dfa13a1fbd90b04651592e048ab36.tar.bz2 gsoc2013-evolution-953526bb921dfa13a1fbd90b04651592e048ab36.tar.lz gsoc2013-evolution-953526bb921dfa13a1fbd90b04651592e048ab36.tar.xz gsoc2013-evolution-953526bb921dfa13a1fbd90b04651592e048ab36.tar.zst gsoc2013-evolution-953526bb921dfa13a1fbd90b04651592e048ab36.zip |
Updated with the extended AUTH return codes.
2001-03-02 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (get_smtp_error_string):
Updated with the extended AUTH return codes.
svn path=/trunk/; revision=8527
Diffstat (limited to 'camel')
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index f4f7bd8bb3..90a9c5f377 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -179,6 +179,19 @@ get_smtp_error_string (int error) return _("Start mail input; end with <CRLF>.<CRLF>"); case 554: return _("Transaction failed"); + + /* AUTH error codes: */ + case 432: + return _("A password transition is needed"); + case 534: + return _("Authentication mechanism is too weak"); + case 538: + return _("Encryption required for requested authentication mechanism"); + case 454: + return _("Temporary authentication failure"); + case 530: + return _("Authentication required"); + default: return _("Unknown"); } @@ -681,7 +694,7 @@ smtp_auth (CamelSmtpTransport *transport, const char *mech, CamelException *ex) lose: if (!camel_exception_is_set (ex)) { camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE, - _("Bad authentication response from server.")); + _("Bad authentication response from server.\n")); } camel_object_unref (CAMEL_OBJECT (sasl)); |