* wl-draft.el (wl-draft-send-mail-with-smtp): Fix logic
authorokada <okada>
Sun, 8 Dec 2002 12:33:12 +0000 (12:33 +0000)
committerokada <okada>
Sun, 8 Dec 2002 12:33:12 +0000 (12:33 +0000)
for elmo-remove-passwd.

wl/ChangeLog
wl/wl-draft.el

index 2448e9b..c43993a 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-08  Kenichi OKADA  <okada@opaopa.org>
+
+       * wl-draft.el (wl-draft-send-mail-with-smtp): Fix logic
+       for elmo-remove-passwd.
+
 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * wl-folder.el (wl-folder-sync-entity): Fixed problem when the
index ea773a2..9b9be0c 100644 (file)
@@ -1086,7 +1086,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