marrow / mailer

A light-weight, modular, message representation and mail delivery framework for Python.
MIT License
279 stars 62 forks source link

Prevent quopri-encoding the Date header. #46

Closed nandoflorestan closed 11 years ago

nandoflorestan commented 11 years ago

The Date header was ending up like this:

Date: =?utf-8?q?Sat=2C_01_Sep_2012_13=3A08=3A29_-0300?=

I was opening the received message in Thunderbird, using my gmail account over IMAP and the date was not being read correctly (not sure if this is Thunderbird's fault) and the message would appear as if it were from 1969...

Anyway, the problem goes away if this header is pre-converted to a bytestring. I don't think there is ever anything other than ASCII in this header anyway.

Thoughts welcome...

travisbot commented 11 years ago

This pull request fails (merged ff975377 into ec43f7ba).