2001-04-10 Simon Josefsson <simon@josefsson.org>
authorSimon Josefsson <jas@extundo.com>
Tue, 10 Apr 2001 12:54:53 +0000 (12:54 +0000)
committerSimon Josefsson <jas@extundo.com>
Tue, 10 Apr 2001 12:54:53 +0000 (12:54 +0000)
* imap.el (imap-message-copy): Work around buggy servers that
doesn't send TRYCREATE tags.

lisp/ChangeLog
lisp/imap.el

index 1b6da42..f16b42f 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-10  Simon Josefsson  <simon@josefsson.org>
+
+       * imap.el (imap-message-copy): Work around buggy servers that
+       doesn't send TRYCREATE tags.
+
 2001-04-09 01:15:54  Katsumi Yamaoka <yamaoka@jpl.org>
 
        * gnus-start.el (gnus-read-newsrc-el-file): Work with Semi-gnusae.
index 025962e..8a87f22 100644 (file)
@@ -1462,8 +1462,11 @@ first element, rest of list contain the saved articles' UIDs."
              (if (imap-ok-p (imap-send-command-wait cmd))
                  t
                (when (and (not dont-create)
-                          (imap-mailbox-get-1 'trycreate mailbox))
-                 (imap-mailbox-create-1 mailbox)
+                          ;; removed because of buggy Oracle server
+                          ;; that doesn't send TRYCREATE tags (which
+                          ;; is a MUST according to specifications):
+                          ;;(imap-mailbox-get-1 'trycreate mailbox)
+                          (imap-mailbox-create-1 mailbox))
                  (imap-ok-p (imap-send-command-wait cmd)))))
            (or no-copyuid
                (imap-message-copyuid-1 mailbox)))))))