Commit f6af0012 authored by Nicolas Ollinger's avatar Nicolas Ollinger

compatibilité 7 bits améliorée

parent fe285619
......@@ -33,7 +33,7 @@ if 'bcc' not in conf['mail']:
conf['mail']['bcc']='false'
def envoie(serveur,port,login,mdp,sujet,corps,emet,dest,dobcc,file_path,filename):
msg=EmailMessage(EmailPolicy(utf8=False))
msg=EmailMessage(EmailPolicy(utf8=False,cte_type='7bit'))
msg['Subject']=sujet
msg['From']=emet
msg['To']=dest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment