Envoi des mails en 8bit.
darcs-hash:20071209155420-d0547-1f606e295a7c89a4e70fa89f09ae7b105c6ffdeb.gz
This commit is contained in:
parent
f3be755857
commit
120316c881
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ si template est None, DEFAULT_TEMPLATE est utilisé.
|
|||
subject = unicode2ascii(subject.decode("UTF-8"))
|
||||
mail.replace_header('Subject', subject)
|
||||
if not mail['Content-Transfer-Encoding']:
|
||||
mail['Content-Transfer-Encoding'] = 'quoted-printable'
|
||||
mail['Content-Transfer-Encoding'] = '8bit'
|
||||
charset = mail.get_charset()
|
||||
if not charset:
|
||||
charset = "UTF-8"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue