Check error.
authorokada <okada>
Sat, 16 Feb 2002 12:52:09 +0000 (12:52 +0000)
committerokada <okada>
Sat, 16 Feb 2002 12:52:09 +0000 (12:52 +0000)
wl/ChangeLog
wl/wl-draft.el

index d5ddc29..bf6a7b4 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-16  Kenichi OKADA  <okada@opaopa.org>
+
+       * wl-draft.el (wl-draft-send-mail-with-smtp): Check error.
+
 2002-02-15  Daiki Ueno  <ueno@unixuser.org>
 
        * wl-demo.el (wl-demo-insert-image): Don't touch the specifiers
index 9168336..965960d 100644 (file)
@@ -1002,7 +1002,8 @@ non-nil."
                    (error
                     (wl-draft-write-sendlog 'failed 'smtp smtp-server
                                             recipients id)
-                    (if (/= (nth 1 err) 334)
+                    (if (and (eq (car err) 'smtp-response-error)
+                             (/= (nth 1 err) 334))
                         (elmo-remove-passwd
                          (wl-smtp-password-key
                           smtp-sasl-user-name