From 29407f6444bf2886a8425ab9b5e96f5a269ca591 Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 28 Jun 2006 20:06:03 +0000 Subject: [PATCH] * Apply patch from Stefan Rinner to set the Date header. http://helma.org/pipermail/helma-user/2006-June/006547.html --- helma/Mail.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/helma/Mail.js b/helma/Mail.js index 8bbfd15e..9d217834 100644 --- a/helma/Mail.js +++ b/helma/Mail.js @@ -8,10 +8,10 @@ * * Copyright 1998-2006 Helma Software. All Rights Reserved. * - * $RCSfile: helma.Mail.js,v $ + * $RCSfile: Mail.js,v $ * $Author: czv $ - * $Revision: 1.6 $ - * $Date: 2006/04/18 13:06:58 $ + * $Revision: 1.2 $ + * $Date: 2006/04/24 07:02:17 $ */ @@ -264,6 +264,7 @@ helma.Mail = function(smtp) { } else { message.setText(""); } + message.setSentDate(new Date()); Transport.send(message); } catch (mx) { res.debug(errStr + ".send(): " + mx);