Ticket #3472: email-as-qp.2.patch
File email-as-qp.2.patch, 379 bytes (added by , 18 years ago) |
---|
-
django/core/mail.py
diff --git a/django/core/mail.py b/django/core/mail.py index a5af6e6..2696d0a 100644
a b import socket 8 8 import time 9 9 import random 10 10 11 from email import Charset 12 Charset.add_charset('utf-8',Charset.SHORTEST,Charset.QP,'utf-8') 13 11 14 DNS_NAME = socket.getfqdn() # Cache the hostname 12 15 13 16 class BadHeaderError(ValueError):