author | zautrix <zautrix> | 2004-09-01 10:23:29 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-01 10:23:29 (UTC) |
commit | 6cefbdc9c8f3f3001373f10715361e2740c45395 (patch) (unidiff) | |
tree | cb2c36f57620e698913c27ca4ebe59e4a7c9d46e /kmicromail/libetpan/smtp | |
parent | b9257cb225cd29bab5d96fcdaf557926603ee587 (diff) | |
download | kdepimpi-6cefbdc9c8f3f3001373f10715361e2740c45395.zip kdepimpi-6cefbdc9c8f3f3001373f10715361e2740c45395.tar.gz kdepimpi-6cefbdc9c8f3f3001373f10715361e2740c45395.tar.bz2 |
Mail fixes and libetpan updated
-rw-r--r-- | kmicromail/libetpan/smtp/mailsmtp.c | 2 | ||||
-rw-r--r-- | kmicromail/libetpan/smtp/mailsmtp_helper.c | 12 |
2 files changed, 6 insertions, 8 deletions
diff --git a/kmicromail/libetpan/smtp/mailsmtp.c b/kmicromail/libetpan/smtp/mailsmtp.c index b3be432..3ab1d11 100644 --- a/kmicromail/libetpan/smtp/mailsmtp.c +++ b/kmicromail/libetpan/smtp/mailsmtp.c | |||
@@ -192,6 +192,8 @@ int mailsmtp_helo(mailsmtp * session) | |||
192 | 192 | ||
193 | switch (r) { | 193 | switch (r) { |
194 | case 250: | 194 | case 250: |
195 | session->esmtp = 0; | ||
196 | session->auth = MAILSMTP_AUTH_NOT_CHECKED; | ||
195 | return MAILSMTP_NO_ERROR; | 197 | return MAILSMTP_NO_ERROR; |
196 | 198 | ||
197 | case 504: | 199 | case 504: |
diff --git a/kmicromail/libetpan/smtp/mailsmtp_helper.c b/kmicromail/libetpan/smtp/mailsmtp_helper.c index 32d6564..7995377 100644 --- a/kmicromail/libetpan/smtp/mailsmtp_helper.c +++ b/kmicromail/libetpan/smtp/mailsmtp_helper.c | |||
@@ -41,19 +41,15 @@ | |||
41 | int mailsmtp_init(mailsmtp * session) | 41 | int mailsmtp_init(mailsmtp * session) |
42 | { | 42 | { |
43 | int r; | 43 | int r; |
44 | session->esmtp = 0; | 44 | |
45 | r = mailesmtp_ehlo(session); | 45 | r = mailesmtp_ehlo(session); |
46 | 46 | ||
47 | if (r == MAILSMTP_NO_ERROR) { | 47 | if (r == MAILSMTP_NO_ERROR) |
48 | // session->esmtp = TRUE; | ||
49 | return MAILSMTP_NO_ERROR; | 48 | return MAILSMTP_NO_ERROR; |
50 | } | ||
51 | 49 | ||
52 | r = mailsmtp_helo(session); | 50 | r = mailsmtp_helo(session); |
53 | /* if (r == MAILSMTP_NO_ERROR) { */ | 51 | if (r == MAILSMTP_NO_ERROR) |
54 | /* session->esmtp = FALSE; */ | 52 | return MAILSMTP_NO_ERROR; |
55 | /* return MAILSMTP_NO_ERROR; */ | ||
56 | /* } */ | ||
57 | 53 | ||
58 | return r; | 54 | return r; |
59 | } | 55 | } |