;;; -*-Scheme-*-
;;;
-;;; $Id: imail-core.scm,v 1.117 2001/01/24 22:51:43 cph Exp $
+;;; $Id: imail-core.scm,v 1.118 2001/03/19 19:29:48 cph Exp $
;;;
;;; Copyright (c) 1999-2001 Massachusetts Institute of Technology
;;;
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with this program; if not, write to the Free Software
-;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+;;; 02111-1307, USA.
;;;; IMAIL mail reader: core definitions
(lambda (port)
(write-header-fields (message-header-fields message) port)
(write-message-body message port))))
+
+(define (message-time message)
+ (let ((date (get-first-header-field-value message "date" #f)))
+ (and date
+ (parse-header-field-date date))))
\f
;;;; Message Navigation
;;; -*-Scheme-*-
;;;
-;;; $Id: imail.pkg,v 1.80 2001/01/06 05:49:02 cph Exp $
+;;; $Id: imail.pkg,v 1.81 2001/03/19 19:29:45 cph Exp $
;;;
;;; Copyright (c) 2000-2001 Massachusetts Institute of Technology
;;;
file-folder-pathname
file-folder?
file-message?
- file-url?
- message-time))
+ file-url?))
(define-package (edwin imail file-folder rmail-folder)
(files "imail-rmail")