From 88e473dcbcd21bbcea29f32069cfc9abd7fb00c8 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 10 Apr 2001 23:09:52 +0000 Subject: [PATCH] Synch with Oort Gnus. --- lisp/ChangeLog | 14 ++++++++++++++ lisp/imap.el | 7 +++++-- lisp/message.el | 9 ++++++--- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4224fd9..f947b68 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,17 @@ +2001-04-10 Simon Josefsson + + * message.el (message-options-set-recipient): Look at Cc and Bcc too. + +2001-04-10 Colin Marquardt + + * message.el (message-send-mail): Improve the interaction with the + user. + +2001-04-10 Simon Josefsson + + * imap.el (imap-message-copy): Work around buggy servers that + doesn't send TRYCREATE tags. + 2001-04-09 01:15:54 Katsumi Yamaoka * gnus-start.el (gnus-read-newsrc-el-file): Work with Semi-gnusae. diff --git a/lisp/imap.el b/lisp/imap.el index 4bdff4e..ec2585b 100644 --- a/lisp/imap.el +++ b/lisp/imap.el @@ -1451,8 +1451,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))))))) diff --git a/lisp/message.el b/lisp/message.el index eb53fbc..e97cf63 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -3042,7 +3042,7 @@ This sub function is for exclusive use of `message-send-mail'." (prin1-to-string failure))))) (defun message-send-mail-partially () - "Sendmail as message/partial." + "Send mail as message/partial." ;; replace the header delimiter with a blank line (goto-char (point-min)) (re-search-forward @@ -5872,8 +5872,11 @@ regexp varstr." (mail-strip-quoted-names (message-fetch-field "from"))) (message-options-set 'message-recipients - (mail-strip-quoted-names - (message-fetch-field "to"))))) + (mail-strip-quoted-names + (concat + (or (message-fetch-field "to") "") ", " + (or (message-fetch-field "cc") "") ", " + (or (message-fetch-field "bcc") "")))))) (when (featurep 'xemacs) (require 'messagexmas) -- 1.7.10.4