diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-11-29 01:25:19 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-11-29 01:25:19 +0800 |
commit | 1e21bb6e5c2f34a3b339ca6c978c0eebd27d5018 (patch) | |
tree | 196e21886f89d7477486075e3b274ccd94ab7ae6 /camel/providers | |
parent | 10ddfac529eda2aa822ddff3ac9c7893f1f97574 (diff) | |
download | gsoc2013-evolution-1e21bb6e5c2f34a3b339ca6c978c0eebd27d5018.tar gsoc2013-evolution-1e21bb6e5c2f34a3b339ca6c978c0eebd27d5018.tar.gz gsoc2013-evolution-1e21bb6e5c2f34a3b339ca6c978c0eebd27d5018.tar.bz2 gsoc2013-evolution-1e21bb6e5c2f34a3b339ca6c978c0eebd27d5018.tar.lz gsoc2013-evolution-1e21bb6e5c2f34a3b339ca6c978c0eebd27d5018.tar.xz gsoc2013-evolution-1e21bb6e5c2f34a3b339ca6c978c0eebd27d5018.tar.zst gsoc2013-evolution-1e21bb6e5c2f34a3b339ca6c978c0eebd27d5018.zip |
Clear the exception if EHLO fails before trying HELO in the cases where
2000-11-28 Jeffrey Stedfast <fejj@helixcode.com>
* providers/smtp/camel-smtp-transport.c (smtp_connect): Clear the
exception if EHLO fails before trying HELO in the cases where the
SMTP provider doesn't announce its ESMTPness.
svn path=/trunk/; revision=6695
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index df70d48baf..7fe0aa5384 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -200,10 +200,12 @@ smtp_connect (CamelService *service, CamelException *ex) transport->is_esmtp = TRUE; if (!smtp_helo (transport, ex)) { /* Okay, apprently this server doesn't support ESMTP */ + camel_exception_clear (ex); transport->is_esmtp = FALSE; smtp_helo (transport, ex); } } else { + /* send EHLO */ smtp_helo (transport, ex); } |