From c974a2cc5baaa00f76024f159709989c2b1d569a Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 21 Jan 2000 20:21:47 +0000 Subject: [PATCH] Add MESSAGE->STRING. --- v7/src/imail/imail-core.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/v7/src/imail/imail-core.scm b/v7/src/imail/imail-core.scm index 19cf1b282..8ec2fc36b 100644 --- a/v7/src/imail/imail-core.scm +++ b/v7/src/imail/imail-core.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-core.scm,v 1.18 2000/01/20 17:46:52 cph Exp $ +;;; $Id: imail-core.scm,v 1.19 2000/01/21 20:21:47 cph Exp $ ;;; ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology ;;; @@ -385,6 +385,11 @@ (or (header-field->message-flags header) (header-field->message-property header)))) headers)) + +(define (message->string message) + (string-append (header-fields->string (header-fields message)) + "\n" + (message-body message))) ;;;; Message Navigation -- 2.25.1