#1634: [patch] core.mail does not include a Date header in mails
----------------------------------------------+-----------------------------
Reporter: Russell Cloran <[EMAIL PROTECTED]> | Owner: adrian
Type: defect | Status: reopened
Priority: low | Milestone:
Component: Core framework | Version: SVN
Severity: normal | Resolution:
Keywords: |
----------------------------------------------+-----------------------------
Changes (by [EMAIL PROTECTED]):
* priority: normal => low
* resolution: worksforme =>
* status: closed => reopened
* version: magic-removal => SVN
Comment:
I get the same problem on debian sarge, python2.3.
Mail sent from my hosting provider's RHEL box does include a Date: header.
I suspect the date header is being added by some systems but not others.
Adrian, won't you please help us poor sods who's systems don't add a date
header by default?
I'll buy you a beer and/or take you sailing next time you are in San
Francisco :)
(Ok, I'll do that whether you use this patch or not)
This approach uses the rfc822 module:
{{{
>>> import rfc822
>>> rfc822.formatdate()
'Thu, 25 May 2006 05:40:36 GMT'
}}}
See attached patch file
--
Ticket URL: <http://code.djangoproject.com/ticket/1634>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---