* wl-draft.el (wl-draft-send-mail-with-smtp): Fix logic
authorkaoru <kaoru>
Mon, 30 Dec 2002 00:49:19 +0000 (00:49 +0000)
committerkaoru <kaoru>
Mon, 30 Dec 2002 00:49:19 +0000 (00:49 +0000)
for elmo-remove-passwd.

wl/ChangeLog
wl/wl-draft.el

index c1c35a2..4b19a79 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
+
+       * wl-draft.el (wl-draft-send-mail-with-smtp): Fix logic
+       for elmo-remove-passwd.
+
 2002-12-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
        * wl-e21.el (toplevel): Do not set wl-folder-mode-map.
index 4cb9fae..88ed8fd 100644 (file)
@@ -1084,7 +1084,7 @@ non-nil."
                     (wl-draft-write-sendlog 'failed 'smtp smtp-server
                                             recipients id)
                     (if (and (eq (car err) 'smtp-response-error)
-                             (/= (nth 1 err) 334))
+                             (= (nth 1 err) 535))
                         (elmo-remove-passwd
                          (wl-smtp-password-key
                           smtp-sasl-user-name