[Patches] [ python-Patches-791776 ] factor out SMTPHandler.emit date handling

SourceForge.net noreply at sourceforge.net
Wed Aug 20 02:30:04 EDT 2003


Patches item #791776, was opened at 2003-08-20 00:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=791776&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Gaul (gaul)
Assigned to: Nobody/Anonymous (nobody)
Summary: factor out SMTPHandler.emit date handling

Initial Comment:
Change SMTPHandler.emit to use email.Utils.formatdate
for date formatting.  This changes the format from

    Wdy, DD Mon YYYY HH:MM:SS GMT

to

    Wdy, DD Mon YYYY HH:MM:SS (+/-)DDDD

which is the preferred format for email messages
according to RFC 2822.  This format is also accepted by
the obsolete RFCs 822 and 1123, so there should be no
compatibility problems.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=791776&group_id=5470



More information about the Patches mailing list