From: "Lennart Regebro" <[EMAIL PROTECTED]>
> 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/



_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to