11 Oct
2002
11 Oct
'02
11:51 a.m.
From: "Lennart Regebro" <lennart@torped.se>
Indeed, reading in RFC 2822, the origination date-field is required, which means that the header munging done in MailHost should also look for a date header and add it if it doesn't exist.
A simple addition of: if not mo.getheader('Date'): mo['Date'] = DateTime().rfc822() in _mungeHeaders did it. I'll check this in. I did however find a possible bug in DateTime().rfc822(), see next post about that. Best Regards Lennart Regebro, Torped http://www.easypublisher.com/