* wl-news.el.in (wl-news-send-news): Add 'Date' header.
authorokada <okada>
Fri, 20 Dec 2002 14:34:15 +0000 (14:34 +0000)
committerokada <okada>
Fri, 20 Dec 2002 14:34:15 +0000 (14:34 +0000)
wl/ChangeLog
wl/wl-news.el.in

index 2c31be4..f1a4a15 100644 (file)
@@ -1,3 +1,7 @@
+2002-12-20  Kenichi OKADA  <okada@opaopa.org>
+
+       * wl-news.el.in (wl-news-send-news): Add 'Date' header.
+
 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
        * wl-news.el.in (wl-news-send-to-address): New variable.
index 7b3a763..5d1c987 100644 (file)
                 (cons 'To (wl-draft-eword-encode-address-list
                            wl-news-send-to-address))
                 (cons 'Subject "Wanderlust NEWS")
+                (cons 'Date (wl-make-date-string))
                 (cons 'User-Agent wl-generate-mailer-string-function)))
       (wl-draft-insert-mail-header-separator)
       (wl-draft-prepare-edit)
       (goto-char (point-max))
-      (insert "This message is automatically generated by Wanderlust.\n")
+      (insert "\nThis message is automatically generated by Wanderlust.\n\n")
+      ;; insert news
       (while (car lang)
        (wl-news-append-news
         (car lang) previous-version)
        (setq lang (cdr lang)))
+      ;; send
       (let (wl-interactive-send)
        (wl-draft-send 'kill-when-done)))))