The "Date: " fields for all the queued mail always shows up as the date that the report is run, not the date of the queued message.
The one-line fix is attached.
Logged In: YES user_id=231086
Here is the fix...
Just in case the attached file does not work correctly, here is the patch as well:
RCS file: /cvsroot/a-s-k/ask/askremote.py,v retrieving revision 1.59 diff -u -r1.59 askremote.py --- askremote.py 9 Jan 2006 04:22:27 -0000 1.59 +++ askremote.py 19 Jan 2006 02:16:37 -0000 @@ -384,7 +384,7 @@
msg_date = "" try: - msg_date = time.ctime() + msg_date = aMessage.msg.getheader("Date", "") except: pass
Log in to post a comment.
Logged In: YES
user_id=231086
Here is the fix...
Logged In: YES
user_id=231086
Just in case the attached file does not work correctly, here
is the patch as well:
Index: askremote.py
RCS file: /cvsroot/a-s-k/ask/askremote.py,v
retrieving revision 1.59
diff -u -r1.59 askremote.py
--- askremote.py 9 Jan 2006 04:22:27 -0000 1.59
+++ askremote.py 19 Jan 2006 02:16:37 -0000
@@ -384,7 +384,7 @@
msg_date = ""
try:
- msg_date = time.ctime()
+ msg_date =
aMessage.msg.getheader("Date", "")
except:
pass