[Buildbot-commits] [Buildbot] #1768: MailNotifier emails sent with base64 encoding

Buildbot nobody at buildbot.net
Mon Feb 7 17:46:18 UTC 2011


#1768: MailNotifier emails sent with base64 encoding
--------------------+--------------------
Reporter:  cortana  |       Owner:
    Type:  defect   |      Status:  new
Priority:  trivial  |   Milestone:  0.8.+
 Version:  0.8.3p1  |  Resolution:
Keywords:  mail     |
--------------------+--------------------

Comment (by cortana):

 If you're using the python `email` module, I think the following will
 work:

 {{{
 from email import Charset
 Charset.add_charset('utf-8', Charset.SHORTEST, Charset.QP, 'utf-8')
 }}}

 or, if you want 8-bit rather than quoted-printable (slightly less
 conservative):

 {{{
 Charset.add_charset('utf-8', Charset.SHORTEST, None, 'utf-8')
 }}}

 ref: http://code.djangoproject.com/ticket/3472 and
 http://code.djangoproject.com/ticket/11212

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1768#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list