* Apply patch from Stefan Rinner to set the Date header.
http://helma.org/pipermail/helma-user/2006-June/006547.html
This commit is contained in:
parent
c41fed49cc
commit
29407f6444
1 changed files with 4 additions and 3 deletions
|
@ -8,10 +8,10 @@
|
||||||
*
|
*
|
||||||
* Copyright 1998-2006 Helma Software. All Rights Reserved.
|
* Copyright 1998-2006 Helma Software. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* $RCSfile: helma.Mail.js,v $
|
* $RCSfile: Mail.js,v $
|
||||||
* $Author: czv $
|
* $Author: czv $
|
||||||
* $Revision: 1.6 $
|
* $Revision: 1.2 $
|
||||||
* $Date: 2006/04/18 13:06:58 $
|
* $Date: 2006/04/24 07:02:17 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -264,6 +264,7 @@ helma.Mail = function(smtp) {
|
||||||
} else {
|
} else {
|
||||||
message.setText("");
|
message.setText("");
|
||||||
}
|
}
|
||||||
|
message.setSentDate(new Date());
|
||||||
Transport.send(message);
|
Transport.send(message);
|
||||||
} catch (mx) {
|
} catch (mx) {
|
||||||
res.debug(errStr + ".send(): " + mx);
|
res.debug(errStr + ".send(): " + mx);
|
||||||
|
|
Loading…
Add table
Reference in a new issue