+2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
+
+ * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
+ field not exists in message, Use md5 message digest of header.
+
2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
* elmo.el (elmo-folder-append-buffer): Add note on return value.
(if msgid
(if (string-match "<\\(.+\\)>$" msgid)
msgid
- (concat "<" msgid ">")) ; Invaild message-id.
+ (concat "<" msgid ">")) ; Invaild message-id.
;; no message-id, so put dummy msgid.
- (concat "<" (timezone-make-date-sortable
- (elmo-unfold-field-body "date"))
+ (concat "<"
+ (if (elmo-unfold-field-body "date")
+ (timezone-make-date-sortable (elmo-unfold-field-body "date"))
+ (md5 (current-buffer) (point-min) (point-max) nil t))
(nth 1 (eword-extract-address-components
(or (elmo-field-body "from") "nobody"))) ">"))))